From 0312bfc06609d491f4eb96a7fb79d8ec6fb15811 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Tue, 22 Nov 2022 10:38:50 +0100 Subject: [PATCH] KillAppService: Don't call cleanup() from d'tor It's being done implicitly by QSharedPointer d'tor. Change-Id: I058dd3e1c06eb92fad4ea8b5d43ee4d1da9182c4 Reviewed-by: Christian Kandeler --- src/plugins/remotelinux/killappstep.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/remotelinux/killappstep.cpp b/src/plugins/remotelinux/killappstep.cpp index 09670155961..5ab7cd8e571 100644 --- a/src/plugins/remotelinux/killappstep.cpp +++ b/src/plugins/remotelinux/killappstep.cpp @@ -23,8 +23,6 @@ namespace RemoteLinux::Internal { class KillAppService : public AbstractRemoteLinuxDeployService { public: - ~KillAppService() override; - void setRemoteExecutable(const FilePath &filePath); private: @@ -44,11 +42,6 @@ private: DeviceProcessSignalOperation::Ptr m_signalOperation; }; -KillAppService::~KillAppService() -{ - cleanup(); -} - void KillAppService::setRemoteExecutable(const FilePath &filePath) { m_remoteExecutable = filePath;