Win32: fix crash on application exit.
parent
5853fa0421
commit
22a9705a21
|
@ -710,7 +710,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
case WM_DESTROY:
|
|
||||||
if(window->onClose) {
|
if(window->onClose) {
|
||||||
window->onClose();
|
window->onClose();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue