Fix metatask stop.
This commit is contained in:
parent
cbca515f60
commit
e3cd5f07e9
|
@ -79,6 +79,7 @@ ProxyConfigRemoteProcessProtocol
|
|||
[weakSelf.connections removeObject:weakConnection];
|
||||
if (weakSelf.connections.count == 0) {
|
||||
weakSelf.shouldQuit = YES;
|
||||
[weakSelf.metaTask stop];
|
||||
}
|
||||
};
|
||||
[self.connections addObject:newConnection];
|
||||
|
|
Loading…
Reference in New Issue