Closed Spectere closed 6 years ago
On Windows, closing the window from a worker thread seems to cause the API calls to destroy the window to fail and hang the application. This patch changes the behavior so that the SDL window will always be closed from the main thread.
On Windows, closing the window from a worker thread seems to cause the API calls to destroy the window to fail and hang the application. This patch changes the behavior so that the SDL window will always be closed from the main thread.