From dba44661a03e7b70601694002856e1b9d3710b71 Mon Sep 17 00:00:00 2001 From: boundedbuffer Date: Sun, 7 Dec 2014 22:32:59 +0000 Subject: [PATCH] correct comment on Close() --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index cfa44ebee..0c88baf3b 100644 --- a/README.md +++ b/README.md @@ -652,10 +652,7 @@ Its recommended that you call close() once you have finished working with a Chro map.close() ``` -You only need to close to clean up resources deterministically. If your program is exiting, -you don't need to close the collection, as Chronicle never knows when the program might crash, -so we have designed it so you don't have to close() it. - +When using replication its important to call close to clean up the NIO socket connections. Failure to call close may prevent you from restarting a replicated map on the same port. WARNING : If you call close too early before you have finished working with the map, this can cause your JVM to crash. Close MUST BE the last thing that you do with the map.