[Swift-commit] r4782 - trunk/src/org/griphyn/vdl/mapping/file
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Tue Jul 5 17:24:59 CDT 2011
Author: hategan
Date: 2011-07-05 17:24:59 -0500 (Tue, 05 Jul 2011)
New Revision: 4782
Modified:
trunk/src/org/griphyn/vdl/mapping/file/FileGarbageCollector.java
Log:
and now with proper waiting for the cleanup queue to be empty
Modified: trunk/src/org/griphyn/vdl/mapping/file/FileGarbageCollector.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/FileGarbageCollector.java 2011-07-05 22:20:12 UTC (rev 4781)
+++ trunk/src/org/griphyn/vdl/mapping/file/FileGarbageCollector.java 2011-07-05 22:24:59 UTC (rev 4782)
@@ -97,7 +97,7 @@
while (queue.isEmpty() && !shutdown) {
this.wait();
}
- if (shutdown) {
+ if (shutdown && queue.isEmpty()) {
done = true;
break;
}
More information about the Swift-commit
mailing list