Changeset 652:4e269b078fa3 in qutecom-2.2


Ignore:
Timestamp:
Sep 9, 2010 12:31:42 AM (3 years ago)
Author:
laurent
Branch:
default
Message:

bug fix : hangup on exit if not previously logged

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libs/imwrapper/src/purple/PurpleIMFactory.cpp

    r649 r652  
    357357        // want to keep the loop running for the whole time the application is 
    358358        // running. 
    359         PurpleIMFactory::getFactory().terminatedEvent(); 
     359        //PurpleIMFactory::getFactory().terminatedEvent(); 
    360360} 
    361361 
     
    365365        } 
    366366 
    367         g_idle_add(purple_wg_destroy_lib, this); 
    368  
    369         purpleStatusChangeWait(false); 
     367        if(purple_init) 
     368        { 
     369                g_idle_add(purple_wg_destroy_lib, this); 
     370                purpleStatusChangeWait(false); 
     371        } 
     372         
     373        PurpleIMFactory::getFactory().terminatedEvent(); 
    370374} 
    371375 
  • qutecom/src/model/profile/UserProfileHandler.cpp

    r645 r652  
    6767                OWSAFE_DELETE(_currentUserProfile); 
    6868 
    69                 uninitExtLibraries(); 
    70         } 
     69        } 
     70 
     71        uninitExtLibraries(); 
    7172} 
    7273 
Note: See TracChangeset for help on using the changeset viewer.