diff options
author | Justin Berger <j.david.berger@gmail.com> | 2017-02-25 22:06:34 (GMT) |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2017-07-11 00:12:05 (GMT) |
commit | cf0ae55dcb9224b92a95166f17452c56ba5b6213 (patch) | |
tree | 95f53f8e5aee010f5cd4cb90871bac18216d5402 /Source/cmServer.cxx | |
parent | 5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9 (diff) | |
download | CMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.zip CMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.tar.gz CMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.tar.bz2 |
server: Add support for connections that aren't event based
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r-- | Source/cmServer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx index 61ebba3..1d5f3f6 100644 --- a/Source/cmServer.cxx +++ b/Source/cmServer.cxx @@ -28,7 +28,7 @@ static void on_walk_to_shutdown(uv_handle_t* handle, void* arg) { (void)arg; if (!uv_is_closing(handle)) { - uv_close(handle, &cmConnection::on_close); + uv_close(handle, &cmEventBasedConnection::on_close); } } @@ -478,7 +478,7 @@ void cmServerBase::StartShutDown() } for (auto& connection : Connections) { - connection->OnServerShuttingDown(); + connection->OnConnectionShuttingDown(); } Connections.clear(); |