#4768 Crash at retransmitUnackedPackets

For some reason there are no logs for these crashes, but lack of
connection data indicates that viewer was disconnected prior to crash.
master
Andrey Kleshchev 2025-10-01 18:41:01 +03:00
parent 503affdc97
commit 69312e248e
1 changed files with 4 additions and 1 deletions

View File

@ -5553,7 +5553,10 @@ void LLAppViewer::idleNetwork()
add(LLStatViewer::NUM_NEW_OBJECTS, gObjectList.mNumNewObjects);
// Retransmit unacknowledged packets.
gXferManager->retransmitUnackedPackets();
if (gXferManager)
{
gXferManager->retransmitUnackedPackets();
}
gAssetStorage->checkForTimeouts();
gViewerThrottle.setBufferLoadRate(gMessageSystem->getBufferLoadRate());
gViewerThrottle.updateDynamicThrottle();