Stats pages are now left behind unclean on purpose on updating/restarting the controller, to preserve stats across restarts

This commit is contained in:
Thulinma 2016-09-22 09:14:03 +02:00
parent cdab043a4b
commit 26f4b2efd9

View file

@ -126,7 +126,10 @@ void Controller::SharedMemStats(void * config){
Util::wait(1000); Util::wait(1000);
} }
statPointer = 0; statPointer = 0;
DEBUG_MSG(DLVL_HIGH, "Stopping stats thread"); HIGH_MSG("Stopping stats thread");
if (Controller::restarting){
statServer.abandon();
}
} }
/// Updates the given active connection with new stats data. /// Updates the given active connection with new stats data.