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:
CaS 2001-03-17 11:55:05 +00:00
parent d859db45cb
commit cd4a1346a6
2 changed files with 8 additions and 3 deletions

View file

@ -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;
}