Commit aeabaf80 authored by Andrii Grynenko's avatar Andrii Grynenko Committed by Facebook GitHub Bot

Switch RocketClient to use the FrozenOptions getFiberManager API

Summary: Otherwise its possible to hit a collision with another code that's using unsafe getFiberManager API.

Reviewed By: yfeldblum

Differential Revision: D21492532

fbshipit-source-id: 52577a284f80e4d7b7e730adde24812e53702c29
parent aa8735e9
......@@ -422,6 +422,10 @@ class FiberManager : public ::folly::Executor {
static FiberManager& getFiberManager();
static FiberManager* getFiberManagerUnsafe();
const Options& getOptions() const {
return options_;
}
private:
friend class Baton;
friend class Fiber;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment