aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/term
diff options
context:
space:
mode:
authorGravatar staticfox2016-08-07 21:52:10 -0400
committerGravatar staticfox2016-08-07 23:12:47 -0400
commit642ec84f26dbf7cb86039ddd650afff247c17f00 (patch)
treea99749329381ddfc0b560f45a8c13e11ae47c5e4 /src/modules/term
parentRemove KviParameterList (diff)
downloadKVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.tar.gz
KVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.tar.bz2
KVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.zip
Add forgotten calls to clear()
Diffstat (limited to 'src/modules/term')
-rw-r--r--src/modules/term/libkviterm.cpp3
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;
}