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);
|
Sleep(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(spellProcess)
|
||||||
|
spellProcess->RemoveAllSpells(true);
|
||||||
|
|
||||||
MChangedSpawns.lock();
|
MChangedSpawns.lock();
|
||||||
changed_spawns.clear();
|
changed_spawns.clear();
|
||||||
MChangedSpawns.unlock();
|
MChangedSpawns.unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user