mirror of https://gitee.com/bigwinds/arangodb
less faults when server cannot start
This commit is contained in:
parent
db50b38370
commit
b0acfba634
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue