summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-01 18:41:01 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-01 18:48:38 +0300
commit69312e248e65a03fca67dd38b00a84164461269e (patch)
tree11caf3d896f87aad215684f4cf06c5d8db7cc041
parent503affdc9799311e6adeaf0271e470c46f8ceda8 (diff)
#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.
-rw-r--r--indra/newview/llappviewer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 442a37e977..eadc5e7e63 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -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();