SL-14226 Cleanup teleport requests

meow-7.2.2
Andrey Kleshchev 2020-10-29 16:10:40 +02:00
parent 3ea50baaac
commit e5e45d08f6
1 changed files with 2 additions and 0 deletions

View File

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