projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mem leak
[folly.git]
/
folly
/
io
/
async
/
EventBase.h
diff --git
a/folly/io/async/EventBase.h
b/folly/io/async/EventBase.h
index 843ab464018bede18daeac0230f3721b7fcea2f8..9077b06cd34e3c082d1293a4794a148724018b3c 100644
(file)
--- a/
folly/io/async/EventBase.h
+++ b/
folly/io/async/EventBase.h
@@
-725,6
+725,9
@@
bool runImmediatelyOrRunInEventBaseThreadAndWait(const Cob& fn);
// Name of the thread running this EventBase
std::string name_;
+
+ // allow runOnDestruction() to be called from any threads
+ std::mutex onDestructionCallbacksMutex_;
};
} // folly