Fix CallActor closing.
This commit is contained in:
parent
2dd1185eae
commit
3c257c2258
@ -953,6 +953,8 @@ void CallActor::loop() {
|
||||
break;
|
||||
}
|
||||
LOG(INFO) << "Close " << local_call_id_;
|
||||
container_.for_each(
|
||||
[](auto id, Promise<NetQueryPtr> &promise) { promise.set_error(Global::request_aborted_error()); });
|
||||
stop();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user