mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
b629b387f8
commit
297bb00d97
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue