mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[Crash] Fix Aura process crash with bots (#4743)
This commit is contained in:
parent
3902230fa1
commit
c5715f1f14
@ -708,6 +708,9 @@ Client::Client(EQStreamInterface *ieqs) : Mob(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Client::~Client() {
|
Client::~Client() {
|
||||||
|
entity_list.RemoveMobFromCloseLists(this);
|
||||||
|
m_close_mobs.clear();
|
||||||
|
|
||||||
if (ClientVersion() == EQ::versions::ClientVersion::RoF2 && RuleB (Parcel, EnableParcelMerchants)) {
|
if (ClientVersion() == EQ::versions::ClientVersion::RoF2 && RuleB (Parcel, EnableParcelMerchants)) {
|
||||||
DoParcelCancel();
|
DoParcelCancel();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -531,6 +531,9 @@ Mob::Mob(
|
|||||||
|
|
||||||
Mob::~Mob()
|
Mob::~Mob()
|
||||||
{
|
{
|
||||||
|
entity_list.RemoveMobFromCloseLists(this);
|
||||||
|
m_close_mobs.clear();
|
||||||
|
|
||||||
quest_manager.stopalltimers(this);
|
quest_manager.stopalltimers(this);
|
||||||
|
|
||||||
mMovementManager->RemoveMob(this);
|
mMovementManager->RemoveMob(this);
|
||||||
@ -570,11 +573,8 @@ Mob::~Mob()
|
|||||||
entity_list.UnMarkNPC(GetID());
|
entity_list.UnMarkNPC(GetID());
|
||||||
UninitializeBuffSlots();
|
UninitializeBuffSlots();
|
||||||
|
|
||||||
entity_list.RemoveMobFromCloseLists(this);
|
|
||||||
entity_list.RemoveAuraFromMobs(this);
|
entity_list.RemoveAuraFromMobs(this);
|
||||||
|
|
||||||
m_close_mobs.clear();
|
|
||||||
|
|
||||||
ClearDataBucketCache();
|
ClearDataBucketCache();
|
||||||
|
|
||||||
LeaveHealRotationTargetPool();
|
LeaveHealRotationTargetPool();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user