Commented out debug abort call.
This commit is contained in:
parent
68693ca29d
commit
ec6cfb1e40
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue