Commit a5146161 authored by Mike Kremer's avatar Mike Kremer

Call clearAll() before closing OpenFlipper to make sure all object's destructors are called.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9164 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fad666f1
......@@ -982,7 +982,11 @@ Core::writeOnExit() {
void Core::slotExit() {
writeOnExit();
// Call clearAll() before closing application
// in order to call all object's destructors...
clearAll();
if (logFile_)
logFile_->close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment