mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:15:33 +00:00
Fixed an issue where WMInput did not detach on the Destroy message, causing the application to stay open.
This commit is contained in:
parent
935db198ea
commit
7b0ff73c85
|
@ -134,6 +134,16 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case WindowMessage.DESTROY:
|
||||
Debug.Print("Input window detached from parent {0}.", Handle);
|
||||
ReleaseHandle();
|
||||
break;
|
||||
|
||||
case WindowMessage.QUIT:
|
||||
Debug.WriteLine("Input window quit.");
|
||||
this.Dispose();
|
||||
break;
|
||||
}
|
||||
|
||||
base.WndProc(ref msg);
|
||||
|
|
Loading…
Reference in a new issue