Commented out debug abort call.

This commit is contained in:
mjbudd77 2021-12-29 16:11:39 -05:00
parent 68693ca29d
commit ec6cfb1e40
2 changed files with 4 additions and 3 deletions

3
.vscode/launch.json vendored
View File

@ -11,7 +11,8 @@
"program": "${workspaceFolder}/build/src/fceux", "program": "${workspaceFolder}/build/src/fceux",
"args": [], "args": [],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}" "cwd": "${workspaceFolder}",
"coreDumpPath": "${workspaceFolder}/build/core-fceux",
"environment": [], "environment": [],
"externalConsole": false, "externalConsole": false,
"MIMode": "gdb", "MIMode": "gdb",

View File

@ -1286,16 +1286,16 @@ void fceuWrapperUnLock(void)
{ {
if ( mutexLocks > 0 ) if ( mutexLocks > 0 )
{ {
mutexLocks--;
if ( consoleWindow != NULL ) if ( consoleWindow != NULL )
{ {
consoleWindow->mutex->unlock(); consoleWindow->mutex->unlock();
} }
mutexLocks--;
} }
else else
{ {
printf("Error: Mutex is Already UnLocked\n"); printf("Error: Mutex is Already UnLocked\n");
abort(); //abort(); // Uncomment to catch a stack trace
} }
} }