forked from qt-creator/qt-creator
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:
@@ -23,8 +23,6 @@ namespace RemoteLinux::Internal {
|
|||||||
class KillAppService : public AbstractRemoteLinuxDeployService
|
class KillAppService : public AbstractRemoteLinuxDeployService
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~KillAppService() override;
|
|
||||||
|
|
||||||
void setRemoteExecutable(const FilePath &filePath);
|
void setRemoteExecutable(const FilePath &filePath);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -44,11 +42,6 @@ private:
|
|||||||
DeviceProcessSignalOperation::Ptr m_signalOperation;
|
DeviceProcessSignalOperation::Ptr m_signalOperation;
|
||||||
};
|
};
|
||||||
|
|
||||||
KillAppService::~KillAppService()
|
|
||||||
{
|
|
||||||
cleanup();
|
|
||||||
}
|
|
||||||
|
|
||||||
void KillAppService::setRemoteExecutable(const FilePath &filePath)
|
void KillAppService::setRemoteExecutable(const FilePath &filePath)
|
||||||
{
|
{
|
||||||
m_remoteExecutable = filePath;
|
m_remoteExecutable = filePath;
|
||||||
|
|||||||
Reference in New Issue
Block a user