mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 03:25:34 +00:00
* GameWindow.cs: Improved implementation of GameWindow.Exit(). It should now be possible to cancel the exit through the IsClosing event.
This commit is contained in:
parent
e441e9d067
commit
4482a79e84
|
@ -261,7 +261,7 @@ namespace OpenTK
|
|||
#region Exit
|
||||
|
||||
/// <summary>
|
||||
/// Gracefully exits the GameWindow. May be called from any thread.
|
||||
/// Closes the GameWindow. Equivalent to <see cref="Close"/> method.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>Override if you are not using <see cref="GameWindow.Run()"/>.</para>
|
||||
|
@ -269,7 +269,6 @@ namespace OpenTK
|
|||
/// </remarks>
|
||||
public virtual void Exit()
|
||||
{
|
||||
isExiting = true;
|
||||
Close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue