send close signal only on restart to avoid problems while destructiong on normal exit (#376)

This commit is contained in:
redPanther
2017-01-22 19:36:52 +01:00
committed by GitHub
parent 3aa2573b88
commit cde5a4dff1
3 changed files with 8 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ public:
///
/// free all alocated objects, should be called only from constructor or before restarting hyperion
///
void freeObjects();
void freeObjects(bool emitCloseSignal=false);
static Hyperion* initInstance(const QJsonObject& qjsonConfig, const QString configFile);
static Hyperion* getInstance();