mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor runloop fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d859db45cb
commit
cd4a1346a6
2 changed files with 8 additions and 3 deletions
|
@ -714,9 +714,12 @@ const NSMapTableValueCallBacks ArrayMapValueCallBacks =
|
|||
r = [d objectForKey: key];
|
||||
if (r == nil)
|
||||
{
|
||||
r = [NSRunLoop new];
|
||||
[d setObject: r forKey: key];
|
||||
RELEASE(r);
|
||||
if (d != nil)
|
||||
{
|
||||
r = [self new];
|
||||
[d setObject: r forKey: key];
|
||||
RELEASE(r);
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue