mirror of
https://github.com/anope/anope.git
synced 2026-06-29 04:26:37 +02:00
If using db_flatfile:fork, don't allow multiple saves to happen at one time on shutdown/restart wait for any pending saves to finish
This commit is contained in:
+1
-1
@@ -139,8 +139,8 @@ void Anope::HandleSignal()
|
||||
Log() << "Received signal " << Signal << ", exiting.";
|
||||
Anope::QuitReason = Anope::string("Services terminating via signal ") + stringify(Signal);
|
||||
#endif
|
||||
Anope::SaveDatabases();
|
||||
Anope::Quitting = true;
|
||||
Anope::SaveDatabases();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user