mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
fixed #219
This commit is contained in:
@@ -120,7 +120,14 @@ class OldDeletedEntriesCleanupThread extends Thread
|
||||
return;
|
||||
|
||||
while (!shutdown) {
|
||||
int nextSegmentIndex = cleanupSegment();
|
||||
int nextSegmentIndex;
|
||||
try {
|
||||
nextSegmentIndex = cleanupSegment();
|
||||
} catch (Exception e) {
|
||||
if (shutdown)
|
||||
break;
|
||||
throw e;
|
||||
}
|
||||
if (nextSegmentIndex == -1)
|
||||
return;
|
||||
if (nextSegmentIndex == 0) {
|
||||
|
||||
Reference in New Issue
Block a user