diff options
| author | 2008-11-19 11:10:10 +0000 | |
|---|---|---|
| committer | 2008-11-19 11:10:10 +0000 | |
| commit | e5ce1b096f2d126035090996bdf114e438da9130 (patch) | |
| tree | 1901ce3dc75033ab2e72aaff75574265ad470d3d /src/modules/editor/libkvieditor.cpp | |
| parent | fixed #292 (diff) | |
| download | KVIrc-e5ce1b096f2d126035090996bdf114e438da9130.tar.gz KVIrc-e5ce1b096f2d126035090996bdf114e438da9130.tar.bz2 KVIrc-e5ce1b096f2d126035090996bdf114e438da9130.zip | |
fix for #294
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2897 17fca916-40b9-46aa-a4ea-0a15b648b75c
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; |
