From 7774f575b89a421f2e980d4e803bc14eafa8da3b Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 28 Aug 2025 16:03:19 +0200 Subject: [PATCH] fix(windows): remove our hack to crash on windows for fatal logs no need to carry some hack when we can use the same standard and cross platform feature directly from Qt code Signed-off-by: Matthieu Gallien --- src/libsync/logger.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libsync/logger.cpp b/src/libsync/logger.cpp index d978344128..5138e2ad4e 100644 --- a/src/libsync/logger.cpp +++ b/src/libsync/logger.cpp @@ -164,10 +164,6 @@ void Logger::doLog(QtMsgType type, const QMessageLogContext &ctx, const QString dumpCrashLog(); closeNoLock(); s_originalMessageHandler(type, ctx, message); -#if defined(Q_OS_WIN) - // Make application terminate in a way that can be caught by the crash reporter - Utility::crash(); -#endif } } emit logWindowLog(msg);