Skip to content

Commit

Permalink
fix: server shutdown in ubuntu, resolves main thread loop (opentibiab…
Browse files Browse the repository at this point in the history
  • Loading branch information
beats-dh authored Feb 4, 2023
1 parent 0178967 commit 3f6c671
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/database/databasetasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void DatabaseTasks::threadMain()
flushSignal.notify_one();
}
taskSignal.wait(taskLockUnique, [this] {
return !tasks.empty();
return tasks.empty();
});
}

Expand Down
1 change: 0 additions & 1 deletion src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6733,7 +6733,6 @@ void Game::shutdown()
ConnectionManager::getInstance().closeAll();

SPDLOG_INFO("Done!");
exit(0);
}

void Game::cleanup()
Expand Down

0 comments on commit 3f6c671

Please sign in to comment.