Tighten up shutdown of zoom file processing during reload
This commit is contained in:
parent
c135a669a8
commit
df9d3494c3
4 changed files with 23 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue