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

Method ~Fixture

lib/cpp/test/TNonblockingServerTest.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 Fixture() : processor(new test::ParentServiceProcessor(make_shared<Handler>())) {}
130
131 ~Fixture() {
132 if (server) {
133 server->stop();
134 }
135 if (thread) {
136 thread->join();
137 }
138 }
139
140 void setEventBase(event_base* user_event_base) {
141 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