mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
leak detection improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8ea74f67d7
commit
ed09c55959
102 changed files with 429 additions and 235 deletions
|
@ -34,7 +34,6 @@
|
|||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
|
||||
@class GSCountedSet;
|
||||
@interface GSCountedSet : NSObject // Help the compiler
|
||||
|
@ -74,6 +73,7 @@ static Class NSCountedSet_concrete_class;
|
|||
NSCountedSet_abstract_class = self;
|
||||
NSCountedSet_concrete_class = [GSCountedSet class];
|
||||
uniqueLock = [GSLazyRecursiveLock new];
|
||||
[[NSObject leakAt: &uniqueLock] release];
|
||||
lockImp = [uniqueLock methodForSelector: @selector(lock)];
|
||||
unlockImp = [uniqueLock methodForSelector: @selector(unlock)];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue