diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index e4486e5984..db9f7757cf 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -580,16 +580,13 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo bool wantsSandboxRunning = shouldRunServer(); static bool determinedSandboxState = false; - static bool sandboxRunning = false; SandboxUtils sandboxUtils; sandboxUtils.ifLocalSandboxRunningElse([&]() { qCDebug(interfaceapp) << "Home sandbox appears to be running....."; determinedSandboxState = true; - sandboxRunning = true; }, [&, wantsSandboxRunning]() { qCDebug(interfaceapp) << "Home sandbox does not appear to be running...."; determinedSandboxState = true; - sandboxRunning = false; if (wantsSandboxRunning) { QString contentPath = getRunServerPath(); SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME);