diff --git a/sync.m b/sync.m index 39d3c65..13876c9 100644 --- a/sync.m +++ b/sync.m @@ -115,5 +115,5 @@ void objc_sync_exit(id obj) { Class lockClass = findLockClass(obj); mutex_t *lock = object_getIndexedIvars(lockClass); - LOCK(lock); + UNLOCK(lock); }