diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index a0c78dd13e99..baa30a602123 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -4740,9 +4740,13 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) { WaylandProxy::SetVerbose(true); } # endif - gWaylandProxy = WaylandProxy::Create(); - if (gWaylandProxy) { - gWaylandProxy->RunThread(); + // Wayland proxy may be already running by update, no need to terminate + // it and start again. + if (!gWaylandProxy) { + gWaylandProxy = WaylandProxy::Create(); + if (gWaylandProxy) { + gWaylandProxy->RunThread(); + } } } # endif