diff --git a/omnitool/render.py b/omnitool/render.py index 3249b17..cd91964 100644 --- a/omnitool/render.py +++ b/omnitool/render.py @@ -341,6 +341,7 @@ def relmove(rel): lasttask.result() splice_gmaps(threadpool, tilefolder, tempfiles, header["name"].decode()) + threadpool.shutdown() pygame.quit() return @@ -457,7 +458,7 @@ def render_base_to_master(task): done += 1 loadingbar.set_progress(done * fraction, caption + " %4d of %4d" % (done, total)) current_area //= 2 - + processpool.shutdown() if __name__ == "__main__": worlds = list(get_worlds(False)) b = {}