projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get rid of redundant calls to RequestContext::saveContext()
[folly.git]
/
folly
/
io
/
async
/
NotificationQueue.h
diff --git
a/folly/io/async/NotificationQueue.h
b/folly/io/async/NotificationQueue.h
index e1b1cb36fe29b3ea4dd4149d28fd1d517b13d0bf..fa66baea7c9a80d1ddaa642496fe932143ea32ea 100644
(file)
--- a/
folly/io/async/NotificationQueue.h
+++ b/
folly/io/async/NotificationQueue.h
@@
-266,8
+266,6
@@
class NotificationQueue {
pid_(pid_t(getpid())),
queue_() {
- RequestContext::saveContext();
-
#ifdef FOLLY_HAVE_EVENTFD
if (fdType == FdType::EVENTFD) {
eventfd_ = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);