changeset 7050:e8cd8827fb25

[gaim-migrate @ 7613] Try unsetting the SSL I/O ops before unloading a plugin, so we don't have garbage sitting around. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 02:41:09 +0000
parents 167a92baeae6
children e885d4963a68
files plugins/ssl/ssl-gnutls.c plugins/ssl/ssl-nss.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ssl/ssl-gnutls.c	Tue Sep 30 02:35:32 2003 +0000
+++ b/plugins/ssl/ssl-gnutls.c	Tue Sep 30 02:41:09 2003 +0000
@@ -171,6 +171,10 @@
 static gboolean
 plugin_unload(GaimPlugin *plugin)
 {
+#ifdef HAVE_GNUTLS
+	gaim_ssl_set_ops(NULL);
+#endif
+
 	return TRUE;
 }
 
--- a/plugins/ssl/ssl-nss.c	Tue Sep 30 02:35:32 2003 +0000
+++ b/plugins/ssl/ssl-nss.c	Tue Sep 30 02:41:09 2003 +0000
@@ -267,6 +267,10 @@
 static gboolean
 plugin_unload(GaimPlugin *plugin)
 {
+#ifdef HAVE_GNUTLS
+	gaim_ssl_set_ops(NULL);
+#endif
+
 	return TRUE;
 }