Browse Source

Fix a bug where the helper respawned on updates.

Tobias Hieta 9 năm trước cách đây
mục cha
commit
6d727323be
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
 }