MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / ~WorldServerThread

Method ~WorldServerThread

source/game/StarWorldServerThread.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22WorldServerThread::~WorldServerThread() {
23 m_stop = true;
24 join();
25
26 RecursiveMutexLocker locker(m_mutex);
27 for (auto clientId : m_worldServer->clientIds())
28 removeClient(clientId);
29}
30
31WorldId WorldServerThread::worldId() const {
32 return m_worldId;

Callers

nothing calls this directly

Calls 2

joinFunction · 0.50
clientIdsMethod · 0.45

Tested by

no test coverage detected