diff options
author | Adam <Adam@anope.org> | 2013-12-26 16:08:56 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-12-26 16:08:56 -0500 |
commit | 9bf9cfcf5e122f9f46ad096b9f979a95c10d2d4b (patch) | |
tree | 2436ffe46858057f79a704b7ddd355d2f01255bc /src/init.cpp | |
parent | 0c9750a22b51b64e3b020d12fccdd53da65df93c (diff) |
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
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 489f3b264..88e8af0fc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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; } |