mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
Fix semaphoreTryWait
This commit is contained in:
parent
93dabfab3f
commit
8e19bb5b0d
@ -33,5 +33,6 @@ bool semaphoreTryWait(Semaphore *s) {
|
||||
s->count--;
|
||||
success = true;
|
||||
}
|
||||
mutexUnlock(&s->mutex);
|
||||
return success;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user