IMainThreadDispatcher.SignalShutdown() Method
Definition
Namespace: Brine2D.Threading
Signals that the game loop has exited. After this call, RunOnMainThreadAsync\(Action, CancellationToken\) and RunOnMainThread\(Action, bool\) execute inline on the calling thread rather than enqueuing, preventing post-shutdown deadlocks in background cleanup continuations. Should only be called by the engine's game host infrastructure.