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

Method ~WorldClient

source/game/StarWorldClient.cpp:98–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98WorldClient::~WorldClient() {
99 if (m_lightingThread) {
100 m_stopLightingThread = true;
101 {
102 MutexLocker locker(m_lightingMutex);
103 m_lightingCond.broadcast();
104 }
105
106 m_lightingThread.finish();
107 }
108 clearWorld();
109}
110
111bool WorldClient::inWorld() const {
112 return m_inWorld;

Callers

nothing calls this directly

Calls 2

broadcastMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected