Please sign in to comment.
Destroy SDL window when finalized
SDL_DestroyWindow must be called on the main thread. If the window is finalized, the finalizer will push a CLOSE event to the event loop (thread-safe) and the window will be destroyed on the main thread.
- Loading branch information...
Showing with 17 additions and 3 deletions.