mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Use standard locks rathere than obsolete lazy lock classes
This commit is contained in:
parent
6c3d99ea3f
commit
3ced3237e8
17 changed files with 63 additions and 36 deletions
|
@ -204,7 +204,7 @@ static NSRecursiveLock *classLock = nil;
|
|||
{
|
||||
if (self == [NSLocale class])
|
||||
{
|
||||
classLock = [GSLazyRecursiveLock new];
|
||||
classLock = [NSRecursiveLock new];
|
||||
[[NSObject leakAt: &classLock] release];
|
||||
allLocales = [[NSMutableDictionary alloc] initWithCapacity: 0];
|
||||
[[NSObject leakAt: &allLocales] release];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue