Please sign in to comment.
Protect against recursion in Closing event
Misbehaving clients that shall not be named here may call GameWindow.Close() inside the GameWindow.Closing event. This causes recursion in SDL2, crashing the application. This patch adds a guard to protect against recursion when calling GameWindow.Close().
- Loading branch information...
Showing with 12 additions and 2 deletions.