Skip to content

Commit a3f9495

Browse files
authored
Do not delete the cluster thread on shutdown since the thread may sometime finish after this ClusterService.shutdown and before hazelcast client destructor exit. (#315)
1 parent 3f16fe2 commit a3f9495

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hazelcast/src/hazelcast/client/connection/ClusterListenerThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ namespace hazelcast {
121121
workerThread = (util::Thread *) NULL;
122122
worker->cancel();
123123
worker->join();
124-
delete worker;
125124
}
126125
}
127126

0 commit comments

Comments
 (0)