From 6e0f7ab38f4e6abbb6614f13e3cf5cf4aa27c4b8 Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Tue, 28 Apr 2026 20:54:49 +0200 Subject: [PATCH] Default to assuming OBS is shutting down This reverts commit eea91b79b38b7c33561dc6c639d01dea8a802cdd. --- lib/utils/plugin-state-helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/plugin-state-helpers.cpp b/lib/utils/plugin-state-helpers.cpp index 6973dd1d..fa4fce75 100644 --- a/lib/utils/plugin-state-helpers.cpp +++ b/lib/utils/plugin-state-helpers.cpp @@ -310,7 +310,7 @@ bool HighlightUIElementsEnabled() bool OBSIsShuttingDown() { - return GetSwitcher() && GetSwitcher()->obsIsShuttingDown; + return !GetSwitcher() || GetSwitcher()->obsIsShuttingDown; } bool InitialLoadIsComplete()