diff options
| author | 2016-08-07 21:52:10 -0400 | |
|---|---|---|
| committer | 2016-08-07 23:12:47 -0400 | |
| commit | 642ec84f26dbf7cb86039ddd650afff247c17f00 (patch) | |
| tree | a99749329381ddfc0b560f45a8c13e11ae47c5e4 /src/modules/term/libkviterm.cpp | |
| parent | Remove KviParameterList (diff) | |
| download | KVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.tar.gz KVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.tar.bz2 KVIrc-642ec84f26dbf7cb86039ddd650afff247c17f00.zip | |
Add forgotten calls to clear()
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; } |
