SL-14226 Cleanup teleport requests

meow-7.2.2
Andrey Kleshchev 2020-10-29 16:10:40 +02:00 committed by Ansariel
parent c5f6fa2008
commit 1731b1967c
1 changed files with 2 additions and 0 deletions

View File

@ -568,6 +568,8 @@ void LLAgent::init()
void LLAgent::cleanup()
{
mRegionp = NULL;
mTeleportRequest = NULL;
mTeleportCanceled = NULL;
if (mTeleportFinishedSlot.connected())
{
mTeleportFinishedSlot.disconnect();