Commit 98625fc8 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Fix heap use after free test issue

Summary: Fix heap use after free test issue

Reviewed By: danobi

Differential Revision: D24656212

fbshipit-source-id: 03ab1ee563f56e55a7b793155355c43bdfa11fdf
parent abeb13b7
......@@ -471,10 +471,10 @@ class AsyncSocketIntegrationTest : public Test {
folly::Optional<folly::SocketAddress> connectedAddress,
BindSocket bindSocket = BindSocket::YES);
folly::EventBase sevb;
folly::EventBase cevb;
std::unique_ptr<std::thread> serverThread;
std::unique_ptr<UDPServer> server;
folly::EventBase sevb;
folly::EventBase cevb;
};
std::unique_ptr<UDPClient> AsyncSocketIntegrationTest::performPingPongTest(
......
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