summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/clangrefactoring/refactoringconnectionclient.cpp5
-rw-r--r--src/plugins/clangrefactoring/refactoringconnectionclient.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/clangrefactoring/refactoringconnectionclient.cpp b/src/plugins/clangrefactoring/refactoringconnectionclient.cpp
index cc9283c581..6d173691d5 100644
--- a/src/plugins/clangrefactoring/refactoringconnectionclient.cpp
+++ b/src/plugins/clangrefactoring/refactoringconnectionclient.cpp
@@ -46,6 +46,11 @@ RefactoringConnectionClient::RefactoringConnectionClient(RefactoringClientInterf
stdOutPrefixer().setPrefix("RefactoringConnectionClient.stdout: ");
}
+RefactoringConnectionClient::~RefactoringConnectionClient()
+{
+ finishProcess();
+}
+
RefactoringServerProxy &RefactoringConnectionClient::serverProxy()
{
return serverProxy_;
diff --git a/src/plugins/clangrefactoring/refactoringconnectionclient.h b/src/plugins/clangrefactoring/refactoringconnectionclient.h
index d1271bb6ba..bec3a4ea09 100644
--- a/src/plugins/clangrefactoring/refactoringconnectionclient.h
+++ b/src/plugins/clangrefactoring/refactoringconnectionclient.h
@@ -36,6 +36,7 @@ class RefactoringConnectionClient : public ConnectionClient
{
public:
RefactoringConnectionClient(RefactoringClientInterface *client);
+ ~RefactoringConnectionClient();
RefactoringServerProxy &serverProxy();