Fixed an order-of-operations crash within the Quest Parser classes

This commit is contained in:
SecretsOTheP
2014-02-14 12:30:50 -05:00
parent 5f02de1c95
commit 46f8723314
3 changed files with 11 additions and 2 deletions
+3 -1
View File
@@ -476,6 +476,8 @@ int main(int argc, char** argv) {
entity_list.Clear();
parse->ClearInterfaces();
#ifdef EMBPERL
safe_delete(perl_parser);
#endif
@@ -496,7 +498,7 @@ int main(int argc, char** argv) {
dbasync->StopThread();
safe_delete(taskmanager);
command_deinit();
safe_delete(parse);
CheckEQEMuErrorAndPause();
_log(ZONE__INIT, "Proper zone shutdown complete.");
return 0;