Revert D9117507: [flipper] Pass SonarState into SonarWebSocketImpl
Differential Revision: D9117507 Original commit changeset: 24eeb1f80109 fbshipit-source-id: 9668d3880bc1048c542d78c7a522c6ed1ecd4037
This commit is contained in:
committed by
Facebook Github Bot
parent
0e4957b856
commit
7fc7061fca
@@ -31,9 +31,8 @@ static SonarClient* kInstance;
|
||||
using folly::dynamic;
|
||||
|
||||
void SonarClient::init(SonarInitConfig config) {
|
||||
auto state = std::make_shared<SonarState>();
|
||||
kInstance =
|
||||
new SonarClient(std::make_unique<SonarWebSocketImpl>(std::move(config), state), state);
|
||||
new SonarClient(std::make_unique<SonarWebSocketImpl>(std::move(config)));
|
||||
}
|
||||
|
||||
SonarClient* SonarClient::instance() {
|
||||
|
||||
Reference in New Issue
Block a user