diff options
| author | 2016-08-07 21:52:10 -0400 | |
|---|---|---|
| committer | 2016-08-07 23:12:47 -0400 | |
| commit | 642ec84f26dbf7cb86039ddd650afff247c17f00 (patch) | |
| tree | a99749329381ddfc0b560f45a8c13e11ae47c5e4 /src | |
| 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')
| -rw-r--r-- | src/modules/links/libkvilinks.cpp | 1 | ||||
| -rw-r--r-- | src/modules/socketspy/libkvisocketspy.cpp | 1 | ||||
| -rw-r--r-- | src/modules/term/libkviterm.cpp | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/links/libkvilinks.cpp b/src/modules/links/libkvilinks.cpp index 35ab344ef..5508d5e05 100644 --- a/src/modules/links/libkvilinks.cpp +++ b/src/modules/links/libkvilinks.cpp @@ -89,6 +89,7 @@ static bool links_module_cleanup(KviModule *) { for(auto & l : g_pLinksWindowList) l->die(); + g_pLinksWindowList.clear(); return true; } diff --git a/src/modules/socketspy/libkvisocketspy.cpp b/src/modules/socketspy/libkvisocketspy.cpp index 0ef6818be..0a76aa806 100644 --- a/src/modules/socketspy/libkvisocketspy.cpp +++ b/src/modules/socketspy/libkvisocketspy.cpp @@ -68,6 +68,7 @@ static bool socketspy_module_cleanup(KviModule *) { for(auto & s : g_pSocketSpyWindowList) s->die(); + g_pSocketSpyWindowList.clear(); return true; } 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; } |
