Skip to content
Permalink
Browse files

ContentCAO: Fix segfault on quit (attached)

  • Loading branch information
SmallJoker committed Oct 9, 2019
1 parent b49dfa9 commit cbcb9e0b1cd717cc4a7e48eb8cc5c74678c5427f
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/client/activeobjectmgr.cpp
@@ -29,7 +29,10 @@ void ActiveObjectMgr::clear()
// delete active objects
for (auto &active_object : m_active_objects) {
delete active_object.second;
// Object must be marked as gone when children try to detach
active_object.second = nullptr;
}
m_active_objects.clear();
}

void ActiveObjectMgr::step(

0 comments on commit cbcb9e0

Please sign in to comment.
You can’t perform that action at this time.