diff options
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 8dada4acde..4edeb5694b 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -116,7 +116,9 @@ void CMraProto::OnShutdown() {
m_bShutdown = true;
SetStatus(ID_STATUS_OFFLINE);
- MraAvatarsQueueSuspend(hAvatarsQueueHandle);
+
+ if (hAvatarsQueueHandle != nullptr)
+ MraAvatarsQueueSuspend(hAvatarsQueueHandle);
}
/////////////////////////////////////////////////////////////////////////////////////////
|