mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
refactor: downgrade shutdown, warden, and misc diagnostics to DEBUG
Demote 44 more LOG_WARNING messages to LOG_DEBUG: warden module chunk progress, entire shutdown/teardown sequence, transport manager connect, inventory right-click slot, and warden handshake diagnostics. Keeps real warnings (texture not found, slow handlers, stalls, integrity hash) visible in the log.
This commit is contained in:
parent
069dd36698
commit
c2681eead1
8 changed files with 44 additions and 46 deletions
|
|
@ -1527,10 +1527,10 @@ void TerrainManager::unloadTile(int x, int y) {
|
|||
|
||||
void TerrainManager::stopWorkers() {
|
||||
if (!workerRunning.load()) {
|
||||
LOG_WARNING("stopWorkers: already stopped");
|
||||
LOG_DEBUG("stopWorkers: already stopped");
|
||||
return;
|
||||
}
|
||||
LOG_WARNING("stopWorkers: signaling ", workerThreads.size(), " workers to stop...");
|
||||
LOG_DEBUG("stopWorkers: signaling ", workerThreads.size(), " workers to stop...");
|
||||
workerRunning.store(false);
|
||||
queueCV.notify_all();
|
||||
|
||||
|
|
@ -1540,12 +1540,12 @@ void TerrainManager::stopWorkers() {
|
|||
// std::thread object thinking it's still joinable → std::terminate on dtor).
|
||||
for (size_t i = 0; i < workerThreads.size(); i++) {
|
||||
if (workerThreads[i].joinable()) {
|
||||
LOG_WARNING("stopWorkers: joining worker ", i, "...");
|
||||
LOG_DEBUG("stopWorkers: joining worker ", i, "...");
|
||||
workerThreads[i].join();
|
||||
}
|
||||
}
|
||||
workerThreads.clear();
|
||||
LOG_WARNING("stopWorkers: done");
|
||||
LOG_DEBUG("stopWorkers: done");
|
||||
}
|
||||
|
||||
void TerrainManager::unloadAll() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue