Changeset 699

Show
Ignore:
Timestamp:
10/26/08 09:00:55 (3 months ago)
Author:
jajcus
Message:

- remove old timers on re-login (thx smoku)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/sessions.c

    r696 r699  
    734734                        g_list_position(gg_servers, s->current_server)); 
    735735 
     736        if (s->ping_timeout_func) g_source_remove(s->ping_timeout_func); 
    736737        if (s->timeout_func) g_source_remove(s->timeout_func); 
     738        if (s->ping_timer) g_timer_destroy(s->ping_timer); 
    737739        if (s->ggs) { 
    738740                gg_free_session(s->ggs);