diff --git a/src/corelib/kernel/qeventdispatcher_wasm.cpp b/src/corelib/kernel/qeventdispatcher_wasm.cpp index 4aa435b64b0..e1ec858ef04 100644 --- a/src/corelib/kernel/qeventdispatcher_wasm.cpp +++ b/src/corelib/kernel/qeventdispatcher_wasm.cpp @@ -931,9 +931,6 @@ void QEventDispatcherWasm::callOnLoadedIfRequired() if (qtLoadedCalled) return; qtLoadedCalled = true; - - Q_ASSERT(g_mainThreadEventDispatcher); - g_mainThreadEventDispatcher->onLoaded(); } void QEventDispatcherWasm::onLoaded() diff --git a/src/plugins/platforms/wasm/qwasmcompositor.cpp b/src/plugins/platforms/wasm/qwasmcompositor.cpp index 0e2cbf8c0c6..d6017494724 100644 --- a/src/plugins/platforms/wasm/qwasmcompositor.cpp +++ b/src/plugins/platforms/wasm/qwasmcompositor.cpp @@ -12,7 +12,7 @@ using namespace emscripten; -bool QWasmCompositor::m_requestUpdateHoldEnabled = true; +bool QWasmCompositor::m_requestUpdateHoldEnabled = false; QWasmCompositor::QWasmCompositor(QWasmScreen *screen) : QObject(screen) {