Commit e3c685c4 authored by Mike Kremer's avatar Mike Kremer
Browse files

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

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 316b4329
...@@ -983,6 +983,10 @@ Core::writeOnExit() { ...@@ -983,6 +983,10 @@ Core::writeOnExit() {
void Core::slotExit() { void Core::slotExit() {
writeOnExit(); writeOnExit();
// Call clearAll() before closing application
// in order to call all object's destructors...
if (logFile_) if (logFile_)
logFile_->close(); logFile_->close();
Supports Markdown
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