MCPcopy Create free account
hub / github.com/apache/thrift / ~Fixture

Method ~Fixture

lib/cpp/test/TNonblockingSSLServerTest.cpp:204–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 Fixture() : processor(new test::ParentServiceProcessor(std::make_shared<Handler>())) {}
203
204 ~Fixture() {
205 if (server) {
206 server->stop();
207 }
208 if (thread) {
209 thread->join();
210 }
211 }
212
213 void setEventBase(event_base* user_event_base) {
214 userEventBase_.reset(user_event_base, EventDeleter());

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected