Fix CallActor closing.

This commit is contained in:
levlam 2022-10-12 01:55:32 +03:00
parent 2dd1185eae
commit 3c257c2258

View File

@ -953,6 +953,8 @@ void CallActor::loop() {
break; break;
} }
LOG(INFO) << "Close " << local_call_id_; LOG(INFO) << "Close " << local_call_id_;
container_.for_each(
[](auto id, Promise<NetQueryPtr> &promise) { promise.set_error(Global::request_aborted_error()); });
stop(); stop();
break; break;
} }