From 4482a79e843d7bb7ac2ea18e1cdff3c6fc4ea880 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 7 Oct 2009 16:13:46 +0000 Subject: [PATCH] * GameWindow.cs: Improved implementation of GameWindow.Exit(). It should now be possible to cancel the exit through the IsClosing event. --- Source/OpenTK/GameWindow.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 4d2b2e64..2de5f0c9 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -261,7 +261,7 @@ namespace OpenTK #region Exit /// - /// Gracefully exits the GameWindow. May be called from any thread. + /// Closes the GameWindow. Equivalent to method. /// /// /// Override if you are not using . @@ -269,7 +269,6 @@ namespace OpenTK /// public virtual void Exit() { - isExiting = true; Close(); }