mirror of
https://github.com/holub/mame
synced 2025-05-30 01:23:07 +03:00
Attempted fix for 01092: debugger crashes when exiting during "run to cursor"
This commit is contained in:
parent
d6108e5347
commit
1cc0010977
@ -124,10 +124,6 @@ static void video_exit(running_machine *machine)
|
||||
bitmap_free(effect_bitmap);
|
||||
effect_bitmap = NULL;
|
||||
|
||||
// possibly kill the debug window
|
||||
if (options_get_bool(mame_options(), OPTION_DEBUG))
|
||||
debugwin_destroy_windows();
|
||||
|
||||
// free all of our monitor information
|
||||
while (win_monitor_list != NULL)
|
||||
{
|
||||
|
@ -270,6 +270,10 @@ static void winwindow_exit(running_machine *machine)
|
||||
{
|
||||
assert(GetCurrentThreadId() == main_threadid);
|
||||
|
||||
// possibly kill the debug window
|
||||
if (options_get_bool(mame_options(), OPTION_DEBUG))
|
||||
debugwin_destroy_windows();
|
||||
|
||||
// free all the windows
|
||||
while (win_window_list != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user