Index: main.cpp =================================================================== diff -u -r2bc6542cebc264eb343f791f75223a1ca151465e -rfc329c788fe9453983072bee937ccbc95b4ed6e4 --- main.cpp (.../main.cpp) (revision 2bc6542cebc264eb343f791f75223a1ca151465e) +++ main.cpp (.../main.cpp) (revision fc329c788fe9453983072bee937ccbc95b4ed6e4) @@ -240,7 +240,7 @@ if (isNotStory) { if (isOnServer) { if (isOnMaster ) { - ver_branch = ""; // if only is built on server master branch don't show branch + ver_branch = ""; // if only is built on server master branch do not show branch } ver_major += '.'; ver_minor += '.'; @@ -375,6 +375,8 @@ Threads::quitThreads(); + Gui::_viewer->deleteLater(); + return app_exec; } #endif