Shut down mapgen threads before other shutdown tasks (#6689)
authorraymoo <raymoo@users.noreply.github.com>
Sun, 3 Dec 2017 09:28:35 +0000 (01:28 -0800)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000 (17:32 +0200)
commit48ebbf0fc642908e26b58fd17f379920dbb1b387
tree78617674446f5478bcedf97a6b1683e5db2016fc
parent7d9dbbbf3c9102fab35ee4c24a9215d198c3dba0
Shut down mapgen threads before other shutdown tasks (#6689)

Solves some issues with ModStorage functionality in mapgen threads
that occurred when mapgen threads continued to run after the main
server thread had stopped. Also shuts down mapgen threads before
shutdown callbacks are called.
src/server.cpp