summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-03 13:01:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-03 13:01:51 (GMT)
commitbed8d6b887637eb3c79906d54bfb8e9e0427f65c (patch)
tree64868b31beeef69fa5a794ffc1053759c5ddc989 /Source
parent2d4aeb1ff1550f11ea84346fbe81b8bc34cc5ba7 (diff)
parent1b43f9d12dc3d605056fcb8af442b8f0d07ff901 (diff)
downloadCMake-bed8d6b887637eb3c79906d54bfb8e9e0427f65c.zip
CMake-bed8d6b887637eb3c79906d54bfb8e9e0427f65c.tar.gz
CMake-bed8d6b887637eb3c79906d54bfb8e9e0427f65c.tar.bz2
Merge topic 'cmake-server-teardown-file-monitor'
1b43f9d1 cmake-server: Stop the file monitor on client disconnect
Diffstat (limited to 'Source')
-rw-r--r--Source/cmServerConnection.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmServerConnection.cxx b/Source/cmServerConnection.cxx
index c62ca3c..c9822d3 100644
--- a/Source/cmServerConnection.cxx
+++ b/Source/cmServerConnection.cxx
@@ -164,6 +164,7 @@ void cmServerConnection::ReadData(const std::string& data)
void cmServerConnection::HandleEof()
{
+ this->FileMonitor()->StopMonitoring();
this->TearDown();
}