diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index 1044ce5c2..9ac47eaf0 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -476,7 +476,7 @@ void ClusterComponent::ClusterTimerHandler(void) if (client) { Log(LogWarning, "cluster", "Closing connection for endpoint '" + endpoint->GetName() + "' due to inactivity."); client->Close(); - endpoint->SetClient(Endpoint::Ptr()); + endpoint->SetClient(Stream::Ptr()); } } }