make sure spells are cleaned up when zone is shutdown
This commit is contained in:
parent
a479520c33
commit
9bfa15d628
@ -215,6 +215,9 @@ ZoneServer::~ZoneServer() {
|
||||
Sleep(10);
|
||||
}
|
||||
|
||||
if(spellProcess)
|
||||
spellProcess->RemoveAllSpells(true);
|
||||
|
||||
MChangedSpawns.lock();
|
||||
changed_spawns.clear();
|
||||
MChangedSpawns.unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user