Tighten up shutdown of zoom file processing during reload

This commit is contained in:
Mike Primm 2011-07-27 08:04:53 -05:00
parent c135a669a8
commit df9d3494c3
4 changed files with 23 additions and 3 deletions

View file

@ -634,6 +634,9 @@ public class MapManager {
}
public void stopRendering() {
/* Tell all worlds to cancel any zoom out processing */
for(DynmapWorld w: worlds)
w.cancelZoomOutFreshen();
render_pool.shutdown();
try {
render_pool.awaitTermination(5, TimeUnit.SECONDS);