Merge branch 'development' into LTS_development
# Conflicts: # src/controller/controller_statistics.cpp
This commit is contained in:
commit
497583e54b
3 changed files with 26 additions and 10 deletions
|
@ -207,10 +207,15 @@ void Controller::SharedMemStats(void * config){
|
|||
Util::wait(1000);
|
||||
}
|
||||
statPointer = 0;
|
||||
DEBUG_MSG(DLVL_HIGH, "Stopping stats thread");
|
||||
if (Controller::killOnExit){
|
||||
DEBUG_MSG(DLVL_WARN, "Killing all connected clients to force full shutdown");
|
||||
statServer.finishEach();
|
||||
HIGH_MSG("Stopping stats thread");
|
||||
if (Controller::restarting){
|
||||
statServer.abandon();
|
||||
}else{/*LTS-START*/
|
||||
if (Controller::killOnExit){
|
||||
DEBUG_MSG(DLVL_WARN, "Killing all connected clients to force full shutdown");
|
||||
statServer.finishEach();
|
||||
}
|
||||
/*LTS-END*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue