changeset 26144:0dd4629e75ee

remove p2p keepalive timer at logout
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Wed, 20 Aug 2008 21:37:09 +0000
parents 8f28023d3d6d
children abf830f6cd43
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Wed Aug 20 21:17:04 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Wed Aug 20 21:37:09 2008 +0000
@@ -3615,6 +3615,8 @@
 	if (yd->in_chat)
 		yahoo_c_leave(gc, 1); /* 1 = YAHOO_CHAT_ID */
 
+	purple_timeout_remove(yd->yahoo_p2p_timer);
+
 	g_hash_table_destroy(yd->sms_carrier);
 	g_hash_table_destroy(yd->peers);
 	g_hash_table_destroy(yd->friends);