mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Fix potential deadlock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24412 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c76fd5f5a8
commit
0067c58c4b
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-01-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSUserDefaults.m: fix failure to unlock thread lock when
|
||||
unabel to obtain filesystem lock.
|
||||
|
||||
2007-01-23 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSObject.m ([NSObject +initialize]): Apply BSD FPU fix
|
||||
|
|
|
@ -1454,6 +1454,7 @@ static BOOL isLocked = NO;
|
|||
|
||||
if ([self lockDefaultsFile: &wasLocked] == NO)
|
||||
{
|
||||
[_lock unlock];
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue