From 0799910e70d6e26c7df770c3e9861f22969abf0f Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 28 May 2022 00:52:03 +1000 Subject: [PATCH] [client] app: fix segfault when jitRender + spice display is in use --- client/src/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app.c b/client/src/app.c index 221bea49..6fca05fc 100644 --- a/client/src/app.c +++ b/client/src/app.c @@ -535,7 +535,7 @@ void app_invalidateWindow(bool full) if (full) atomic_store(&g_state.invalidateWindow, true); - if (g_state.jitRender && g_state.ds->stopWaitFrame) + if (g_state.dsInitialized && g_state.jitRender && g_state.ds->stopWaitFrame) g_state.ds->stopWaitFrame(); lgSignalEvent(g_state.frameEvent);