Kaynağa Gözat

Fix a bug where the helper respawned on updates.

Tobias Hieta 9 yıl önce
ebeveyn
işleme
6d727323be
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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();
 }