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,6 +146,8 @@ extern "C" {
|
||||||
|
|
||||||
DllExport void __stdcall Release()
|
DllExport void __stdcall Release()
|
||||||
{
|
{
|
||||||
|
_shortcutKeyHandler.reset();
|
||||||
|
|
||||||
_console->Stop(true);
|
_console->Stop(true);
|
||||||
|
|
||||||
_renderer.reset();
|
_renderer.reset();
|
||||||
|
@ -154,8 +156,6 @@ extern "C" {
|
||||||
|
|
||||||
_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