mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Fixed crash when closing window
This commit is contained in:
@@ -424,10 +424,10 @@ namespace GlitchyEngine
|
|||||||
// Window closing
|
// Window closing
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
{
|
{
|
||||||
PostQuitMessage(0);
|
|
||||||
|
|
||||||
var event = scope WindowCloseEvent();
|
var event = scope WindowCloseEvent();
|
||||||
window._eventCallback(event);
|
window._eventCallback(event);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user