Fix metatask stop.

This commit is contained in:
mrFq1 2022-07-27 13:01:33 +08:00
parent cbca515f60
commit e3cd5f07e9
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ ProxyConfigRemoteProcessProtocol
[weakSelf.connections removeObject:weakConnection];
if (weakSelf.connections.count == 0) {
weakSelf.shouldQuit = YES;
[weakSelf.metaTask stop];
}
};
[self.connections addObject:newConnection];