diff options
Diffstat (limited to 'FreeFileSync/Source/RealTimeSync/application.cpp')
-rwxr-xr-x | FreeFileSync/Source/RealTimeSync/application.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/FreeFileSync/Source/RealTimeSync/application.cpp b/FreeFileSync/Source/RealTimeSync/application.cpp index 5559fcf9..69f7475f 100755 --- a/FreeFileSync/Source/RealTimeSync/application.cpp +++ b/FreeFileSync/Source/RealTimeSync/application.cpp @@ -14,12 +14,12 @@ #include <wx+/popup_dlg.h> #include <wx+/image_resources.h> #include "xml_proc.h" -#include "../lib/localization.h" -#include "../lib/ffs_paths.h" -#include "../lib/return_codes.h" -#include "../lib/error_log.h" -#include "../lib/help_provider.h" -#include "../lib/resolve_path.h" +#include "../base/localization.h" +#include "../base/ffs_paths.h" +#include "../base/return_codes.h" +#include "../base/error_log.h" +#include "../base/help_provider.h" +#include "../base/resolve_path.h" #include <gtk/gtk.h> @@ -142,5 +142,6 @@ void Application::onQueryEndSession(wxEvent& event) if (auto mainWin = dynamic_cast<MainDialog*>(GetTopWindow())) mainWin->onQueryEndSession(); //it's futile to try and clean up while the process is in full swing (CRASH!) => just terminate! - std::abort(); //on Windows calls ::ExitProcess() which can still internally process Window messages and crash! + std::exit(fff::FFS_RC_ABORTED); + //don't use std::abort() => crashes process with "EXC_CRASH (SIGABRT)" on macOS } |