MCPcopy Create free account
hub / github.com/clementgallet/libTAS / term

Function term

src/library/main.cpp:213–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void __attribute__((destructor)) term(void)
214{
215 if (Global::is_inited) {
216 if (!Global::is_fork) {
217 sendMessage(MSGB_QUIT);
218 closeSocket();
219 }
220 LOG(LL_DEBUG, LCF_SOCKET, "Exiting.");
221 ThreadManager::deallocateThreads();
222 }
223}
224
225}

Callers

nothing calls this directly

Calls 2

sendMessageFunction · 0.85
closeSocketFunction · 0.85

Tested by

no test coverage detected