diff options
Diffstat (limited to 'src/modules/editor/libkvieditor.cpp')
| -rw-r--r-- | src/modules/editor/libkvieditor.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp index b9290840f..6f36648e8 100644 --- a/src/modules/editor/libkvieditor.cpp +++ b/src/modules/editor/libkvieditor.cpp @@ -44,6 +44,13 @@ static bool editor_module_init(KviModule * m) static bool editor_module_cleanup(KviModule *) { + /* + * This causes 2 crashes: one in KviApp destructor (closing windows needs + * g_pFrame, that is deleted before this unloading routine) and the second in + * the codetester window (it deletes us in its denstructor, and we tries to back-delete it) + * So it's commented out by now.. + */ +/* while(g_pScriptEditorWindowList->first()) { QObject * w = g_pScriptEditorWindowList->first()->parent();; @@ -61,6 +68,7 @@ static bool editor_module_cleanup(KviModule *) } delete g_pScriptEditorWindowList->first(); } +*/ delete g_pScriptEditorWindowList; g_pScriptEditorWindowList = 0; |
