mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Core/Transport): Fixes crash with loading player on deleted transport (#17021)
* fix(Crash): Fixes crash with loading player on deleted transport * Remove whitespace
This commit is contained in:
committed by
GitHub
parent
4f015d0967
commit
57e0b496bd
@@ -39,6 +39,8 @@ MotionTransport::MotionTransport() : Transport(), _transportInfo(nullptr), _isMo
|
||||
|
||||
MotionTransport::~MotionTransport()
|
||||
{
|
||||
HashMapHolder<MotionTransport>::Remove(this);
|
||||
|
||||
ASSERT(_passengers.empty());
|
||||
UnloadStaticPassengers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user