mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Some thread safety checks added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13583 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
151f54de06
commit
e1f18282b7
3 changed files with 50 additions and 12 deletions
|
@ -52,6 +52,7 @@ static NSString *dict_key = @"_NSAssertionHandler";
|
|||
{
|
||||
handler = [[NSAssertionHandler alloc] init];
|
||||
[dict setObject: handler forKey: dict_key];
|
||||
RELEASE(handler);
|
||||
}
|
||||
return handler;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue