From 2d83ef9a1e29725c370c2044ac3d48c962e73d26 Mon Sep 17 00:00:00 2001 From: Caleb Epstein Date: Sun, 17 Jul 2016 11:14:24 -0400 Subject: [PATCH] Fix for facebook/folly issue #440 --- folly/futures/test/FutureTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/futures/test/FutureTest.cpp b/folly/futures/test/FutureTest.cpp index a025dba9771..899b701bce7 100644 --- a/folly/futures/test/FutureTest.cpp +++ b/folly/futures/test/FutureTest.cpp @@ -823,8 +823,8 @@ TEST(Future, RequestContext) { }; Promise p1, p2; + NewThreadExecutor e; { - NewThreadExecutor e; folly::RequestContextScopeGuard rctx; RequestContext::get()->setContextData( "key", folly::make_unique(true));