Skip to content

Commit

Permalink
Issue a warning instead of throwing an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gcasa committed Aug 30, 2023
1 parent 7fe39a2 commit 5d31b35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/NSLock.m
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ - (void) unlock\
{\
if (0 != GS_MUTEX_UNLOCK(_mutex))\
{\
[NSException raise: NSLockException\
format: @"failed to unlock mutex"];\
NSLog(@"failed to unlock mutex");\
}\
CHK(Drop) \
}
Expand Down

0 comments on commit 5d31b35

Please sign in to comment.