Added Output::disconnect() call

This commit is contained in:
Thulinma 2018-02-09 13:45:18 +01:00
parent 0385daabe8
commit ee55646141

View file

@ -1530,8 +1530,11 @@ namespace Mist{
/*LTS-START*/
if (!statsPage.isAlive()){
INFO_MSG("Shutting down on controller request");
onFinish();
myConn.close();
if (!onFinish()){
myConn.close();
}else{
disconnect();
}
return;
}
/*LTS-END*/