Do not use actor context after actor destroy.

GitOrigin-RevId: 5f1ddbd5007ce178c60bf1647f9b01844f8d91cb
This commit is contained in:
levlam 2020-07-19 21:02:10 +03:00
parent 2311809493
commit c328bcac62

View File

@ -175,7 +175,9 @@ inline void ActorInfo::start_run() {
}
inline void ActorInfo::finish_run() {
is_running_ = false;
VLOG(actor) << "Stop run actor: " << *this;
if (!empty()) {
VLOG(actor) << "Stop run actor: " << *this;
}
}
inline bool ActorInfo::is_running() const {