Commit 44b2d6f5 authored by Andrii Grynenko's avatar Andrii Grynenko Committed by Facebook Github Bot

Unit test fixes to enable use of Executor::KeepAlive<> in Futures (5/?)

Summary: This is blocking D8022229

Reviewed By: yfeldblum

Differential Revision: D8086230

fbshipit-source-id: 3d6f2c32190b405b9089c9d41378827e8cb2bb80
parent 3d910b30
...@@ -678,7 +678,7 @@ class EventBase : private boost::noncopyable, ...@@ -678,7 +678,7 @@ class EventBase : private boost::noncopyable,
void keepAliveRelease() override { void keepAliveRelease() override {
if (!inRunningEventBaseThread()) { if (!inRunningEventBaseThread()) {
return add([=] { keepAliveRelease(); }); return add([this] { loopKeepAliveCount_--; });
} }
loopKeepAliveCount_--; loopKeepAliveCount_--;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment