Improved flow of controller main function, made config file only re-write if updates were actually necessary, failure to open a stream input now fails the output correctly.
This commit is contained in:
parent
1cae0a7fd3
commit
3ba11441a1
3 changed files with 30 additions and 11 deletions
|
@ -85,6 +85,9 @@ namespace Mist {
|
|||
/// thus causing the process to exit cleanly.
|
||||
void Output::onFail(){
|
||||
isInitialized = false;
|
||||
wantRequest = true;
|
||||
parseData= false;
|
||||
streamName.clear();
|
||||
myConn.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue