raylib: fix prime state thread (#36504)

fix
This commit is contained in:
Shane Smiskol
2025-10-27 15:15:48 -07:00
committed by GitHub
parent 1dadb3fcc9
commit e754b738ad
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -33,7 +33,6 @@ class PrimeState:
self._running = False
self._thread = None
self.start()
def _load_initial_state(self) -> PrimeType:
prime_type_str = os.getenv("PRIME_TYPE") or self._params.get("PrimeType")
+1
View File
@@ -98,6 +98,7 @@ class UIState:
return not self.started
def update(self) -> None:
self.prime_state.start() # start thread after manager forks ui
self.sm.update(0)
self._update_state()
self._update_status()