1
0
Fork 0

less faults when server cannot start

This commit is contained in:
Jan Steemann 2013-06-25 09:56:09 +02:00
parent db50b38370
commit b0acfba634
1 changed files with 2 additions and 2 deletions

View File

@ -1785,6 +1785,8 @@ bool TRI_ShutdownLogging () {
if (! Initialised) {
return ThreadedLogging;
}
Initialised = false;
// logging is now inactive (this will terminate the logging thread)
LoggingActive = 0;
@ -1829,8 +1831,6 @@ bool TRI_ShutdownLogging () {
TRI_DestroySpin(&AppendersLock);
TRI_DestroyMutex(&BufferLock);
Initialised = false;
return ThreadedLogging;
}