Fix SleepActor leak.
GitOrigin-RevId: 715c7734036f2eeb184704a675aeac8a21e85f96
This commit is contained in:
parent
ed1fb27a45
commit
ee87b75e01
@ -26,6 +26,7 @@ class SleepActor : public Actor {
|
||||
}
|
||||
void timeout_expired() override {
|
||||
promise_.set_value(Unit());
|
||||
stop();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user