Gracefully shut down outputs when signals are received.
This commit is contained in:
parent
81b7ab9a0e
commit
87583dae49
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ namespace Mist {
|
||||||
|
|
||||||
int Output::run() {
|
int Output::run() {
|
||||||
DEBUG_MSG(DLVL_MEDIUM, "MistOut client handler started");
|
DEBUG_MSG(DLVL_MEDIUM, "MistOut client handler started");
|
||||||
while (myConn.connected() && (wantRequest || parseData)){
|
while (config->is_active && myConn.connected() && (wantRequest || parseData)){
|
||||||
stats();
|
stats();
|
||||||
if (wantRequest){
|
if (wantRequest){
|
||||||
requestHandler();
|
requestHandler();
|
||||||
|
|
Loading…
Add table
Reference in a new issue