projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix RequestContext held too long issue in EventBase
[folly.git]
/
folly
/
io
/
async
/
EventBase.h
diff --git
a/folly/io/async/EventBase.h
b/folly/io/async/EventBase.h
index e688abe7f61a95d068a73dca3a2cce02ad873e9b..3399cea2dacbdcc57af56f3318efd1837b65583e 100644
(file)
--- a/
folly/io/async/EventBase.h
+++ b/
folly/io/async/EventBase.h
@@
-150,6
+150,7
@@
class EventBase : private boost::noncopyable,
virtual void runLoopCallback() noexcept = 0;
void cancelLoopCallback() {
+ context_.reset();
unlink();
}