changeset 23675:da592864cae2

Don't try to report a connection error if the MSN session is being destroyed.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 08 Aug 2008 02:26:25 +0000
parents 4ca41efb75a7
children 8552b19acbce
files libpurple/protocols/msn/session.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c	Thu Aug 07 05:08:44 2008 +0000
+++ b/libpurple/protocols/msn/session.c	Fri Aug 08 02:26:25 2008 +0000
@@ -343,6 +343,9 @@
 	PurpleConnectionError reason;
 	char *msg;
 
+	if (session->destroying)
+		return;
+
 	gc = purple_account_get_connection(session->account);
 
 	switch (error)