Fixed error in timeout of cached proxies.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2826 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-06-29 14:28:19 +00:00
parent b629b387f8
commit 297bb00d97

View file

@ -367,7 +367,7 @@ static int messages_received_count;
return [self rootProxyAtPort: [p autorelease]];
}
+ (void) timeout: (NSTimer*)t
+ (void) _timeout: (NSTimer*)t
{
NSArray *cached_locals;
int i;
@ -380,6 +380,10 @@ static int messages_received_count;
NSMapRemove(all_connections_local_cached, [item obj]);
}
}
if ([cached_locals count] == 0) {
[t invalidate];
timer = nil;
}
}
- (void) addRequestMode: (NSString*)mode