Enable -Wunreachable-code
[folly.git] / folly / fibers / test / FibersTest.cpp
index d096839a6ef1b130e9fcdbe1cf97baf85eca3224..7816f9829d64f3ee493bdb217769a52543df533c 100644 (file)
@@ -1964,7 +1964,7 @@ TEST(FiberManager, ABD_DispatcherDestroyedBeforeCallingCommit) {
     dispatchJobs(executor, jobs, results);
     throw std::runtime_error(
         "Unexpected exception in user code before commit called");
-    atomicBatchDispatcher.commit();
+    // atomicBatchDispatcher.commit();
   } catch (...) {
     /* User code handles the exception and does not exit process */
   }