mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-05-08 20:42:10 +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
42c205db00
commit
5498022742
|
@ -134,6 +134,16 @@ namespace OpenTK.Platform.Windows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
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);
|
base.WndProc(ref msg);
|
||||||
|
|
Loading…
Reference in a new issue