Fix SleepActor leak.

GitOrigin-RevId: 715c7734036f2eeb184704a675aeac8a21e85f96
This commit is contained in:
levlam 2018-02-14 14:09:04 +03:00
parent ed1fb27a45
commit ee87b75e01

View File

@ -26,6 +26,7 @@ class SleepActor : public Actor {
}
void timeout_expired() override {
promise_.set_value(Unit());
stop();
}
};