Do not call into things we don't own in destructors
- Remove improper accesses in cChunk destructor * Fixes #4894
This commit is contained in:
@@ -129,7 +129,6 @@ cClientHandle::~cClientHandle()
|
||||
{
|
||||
RemoveFromAllChunks();
|
||||
m_Player->GetWorld()->RemoveClientFromChunkSender(this);
|
||||
m_Player->DestroyNoScheduling(true);
|
||||
}
|
||||
// Send the Offline PlayerList packet:
|
||||
cRoot::Get()->BroadcastPlayerListsRemovePlayer(*m_Player);
|
||||
|
||||
Reference in New Issue
Block a user