diff --git a/lib/utils/plugin-state-helpers.cpp b/lib/utils/plugin-state-helpers.cpp index 5a0980b7..c4b9a775 100644 --- a/lib/utils/plugin-state-helpers.cpp +++ b/lib/utils/plugin-state-helpers.cpp @@ -101,7 +101,7 @@ bool HighlightUIElementsEnabled() bool OBSIsShuttingDown() { - return GetSwitcher()->obsIsShuttingDown; + return GetSwitcher() && GetSwitcher()->obsIsShuttingDown; } bool InitialLoadIsComplete()