Selaa lähdekoodia

Fix a bug where the helper respawned on updates.

Tobias Hieta 9 vuotta sitten
vanhempi
commit
6d727323be
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/utils/HelperLauncher.cpp

+ 1 - 1
src/utils/HelperLauncher.cpp

@@ -177,6 +177,6 @@ QString HelperLauncher::HelperPath()
 void HelperLauncher::stop()
 {
   // this method needs to disconnect all signals from the helper as well, so it doesn't start up again.
-  disconnect(m_jsonClient);
+  m_jsonClient->disconnect();
   killHelper();
 }