[yast-commit] [libyui/libyui] ed8cc2: YDialog has a static stack with all dialogs. YUI (...
Branch: refs/heads/master Home: https://github.com/libyui/libyui Commit: ed8cc2bac41a1dd344ed3028f7fd3b259a0e0b2a https://github.com/libyui/libyui/commit/ed8cc2bac41a1dd344ed3028f7fd3b259a0e... Author: Duncan Mac-Vicar P <dmacvicar@suse.de> Date: 2012-07-31 (Tue, 31 Jul 2012) Changed paths: M src/YDialog.cc M src/YUI.cc Log Message: ----------- YDialog has a static stack with all dialogs. YUI (singleton) destructor calls YDialog::deleteAllDialogs which accesses the stack to delete all dialogs. The problem is that the YUI destructor is called from the static YUITerminator destructor. We can't summe this is called before the static dialog stack is destroyed. So to fix it, move the definition of the dialog stack to the same YUI.cc compilation unit, before the YUITerminator static, so that it is destroyed afterwards. Commit: 2347d28acee28bb297f23dd5af0e461c27730bc2 https://github.com/libyui/libyui/commit/2347d28acee28bb297f23dd5af0e461c2773... Author: tgoettlicher <tgoettlicher@suse.de> Date: 2012-08-01 (Wed, 01 Aug 2012) Changed paths: M src/YDialog.cc M src/YUI.cc Log Message: ----------- Merge pull request #28 from libyui/fix_dialog_stack_destroyed Fix crash due to undefined destruction order Compare: https://github.com/libyui/libyui/compare/fc31625173e9...2347d28acee2
participants (1)
-
GitHub