[Pidgin] #8064: purple_core_quit reordering

Pidgin trac at pidgin.im
Sat Jan 10 14:38:05 EST 2009


#8064: purple_core_quit reordering
------------------------+---------------------------------------------------
 Reporter:  darkrain42  |     Owner:       
     Type:  patch       |    Status:  new  
Component:  libpurple   |   Version:  2.5.3
 Keywords:              |  
------------------------+---------------------------------------------------
 Based on #8062 and #7761 (from the latter ticket, mostly the problems I've
 run into with ordering of the uninit functions), I looked closely at
 `purple_core_quit()` and I think the attached patch makes the ordering
 more sensible.

 In a nutshell:
   * Unload the plugins before everything else (ssl comes before because
 the ssl subsystem is implemented via plugins). UI plugins might do things
 on shutdown (#8062) which will fail badly if the core is shut down.
   * Shut down the user interface next.
   * Document the few gotchas that I encountered with reordering things
 (prefs and util ordering requirements).

 It seems logical to me that the UI would be shutdown before the core both
 because it is initialized after the rest of the core and its shutdown
 ''might'' depend on core subsystems being around.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8064>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list