Login location often fails to get stored in teleport history

Issue #138 new
Chorazin Allen created an issue

This happens because handleLoginComplete() is getting called whilst the login restrictions are still in effect and thus the storing of the location is suppressed because showloc is active at the time.

Changing mGarbageCollectorCalledOnce = TRUE;

to

if (!mGarbageCollectorCalledOnce)
{
    mGarbageCollectorCalledOnce = TRUE;
    LLTeleportHistory::getInstance()->handleLoginComplete();
}

in RRInterface::garbageCollector solves the problem by having a second try when the garbage collector has just lifted the login restrictions. TeleportHistory has it’s own store-login-only-once logic so an extra call isn’t an issue there.

Comments (1)

  1. Log in to comment