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 <SmallJoker@users.noreply.github.com>
Sun, 3 Dec 2017 09:28:35 +0000 (10:28 +0100)
commit83b12ed481fdb1f0c86a97de8a2887acaa32079e
treedaba30ebdb5024b10cdb724d6486ccbc6ba54a98
parentab947bd58280637e7dbef44c983b6a27f6e7637b
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