Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Oct 14, 2024
1 parent 95e500b commit 28f9dea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ Server::~Server()

// Stop threads
if (m_thread) {
if (m_env) m_env->getServerMap().save(MOD_STATE_WRITE_AT_UNLOAD); // save before merge thread exit
stop();
delete m_thread;
}
Expand Down

0 comments on commit 28f9dea

Please sign in to comment.