diff options
Diffstat (limited to 'src/modules/term/libkviterm.cpp')
| -rw-r--r-- | src/modules/term/libkviterm.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/term/libkviterm.cpp b/src/modules/term/libkviterm.cpp index 479823062..2b11b9ccd 100644 --- a/src/modules/term/libkviterm.cpp +++ b/src/modules/term/libkviterm.cpp @@ -99,8 +99,11 @@ static bool term_module_cleanup(KviModule *) #ifdef COMPILE_KDE4_SUPPORT for(auto & t : g_pTermWidgetList) delete t; + g_pTermWidgetList.clear(); + for(auto & t : g_pTermWindowList) t->close(); + g_pTermWindowList.clear(); #endif return true; } |
