summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlogging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
-rw-r--r--src/corelib/global/qlogging.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp
index 4a80b1c5c6..94ec78f382 100644
--- a/src/corelib/global/qlogging.cpp
+++ b/src/corelib/global/qlogging.cpp
@@ -1789,13 +1789,6 @@ static void stderr_message_handler(QtMsgType type, const QMessageLogContext &con
if (formattedMessage.isNull())
return;
-#ifdef Q_OS_WASM
- // Prevent thread cross-talk, which causes Emscripten to log
- // non-valid UTF-8. FIXME: remove once we upgrade to emsdk > 2.0.30
- Q_CONSTINIT static QBasicMutex m;
- auto locker = qt_unique_lock(m);
-#endif
-
fprintf(stderr, "%s\n", formattedMessage.toLocal8Bit().constData());
fflush(stderr);
}