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*/ /*LTS-START*/
if (!statsPage.isAlive()){ if (!statsPage.isAlive()){
INFO_MSG("Shutting down on controller request"); INFO_MSG("Shutting down on controller request");
onFinish(); if (!onFinish()){
myConn.close(); myConn.close();
}else{
disconnect();
}
return; return;
} }
/*LTS-END*/ /*LTS-END*/