Fixed crash when exiting emulator (shortcut handler must be deleted before deleting the key manager)
This commit is contained in:
parent
0d0f5e6e58
commit
7e091529aa
1 changed files with 4 additions and 4 deletions
|
@ -146,16 +146,16 @@ extern "C" {
|
||||||
|
|
||||||
DllExport void __stdcall Release()
|
DllExport void __stdcall Release()
|
||||||
{
|
{
|
||||||
|
_shortcutKeyHandler.reset();
|
||||||
|
|
||||||
_console->Stop(true);
|
_console->Stop(true);
|
||||||
|
|
||||||
_renderer.reset();
|
_renderer.reset();
|
||||||
_soundManager.reset();
|
_soundManager.reset();
|
||||||
_keyManager.reset();
|
_keyManager.reset();
|
||||||
|
|
||||||
_console->Release();
|
_console->Release();
|
||||||
_console.reset();
|
_console.reset();
|
||||||
|
|
||||||
_shortcutKeyHandler.reset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DllExport INotificationListener* __stdcall RegisterNotificationCallback(NotificationListenerCallback callback)
|
DllExport INotificationListener* __stdcall RegisterNotificationCallback(NotificationListenerCallback callback)
|
||||||
|
|
Loading…
Add table
Reference in a new issue