KillAppService: Don't call cleanup() from d'tor

It's being done implicitly by QSharedPointer d'tor.

Change-Id: I058dd3e1c06eb92fad4ea8b5d43ee4d1da9182c4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2022-11-22 10:38:50 +01:00
parent 1aa2d8ad30
commit 0312bfc066

View File

@@ -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;