From 278ce22e5f003e5aed4b1ab47049ff332f77ed21 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Fri, 8 Dec 2023 09:35:49 -0500 Subject: [PATCH] potential fix for crash issue during low/bad signal on DMR; --- src/dmr/Slot.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dmr/Slot.cpp b/src/dmr/Slot.cpp index 69f36c6e..d72dec32 100644 --- a/src/dmr/Slot.cpp +++ b/src/dmr/Slot.cpp @@ -1028,12 +1028,12 @@ void Slot::processFrameLoss() if (m_tscc->m_enableTSCC && m_rfLC != nullptr) { m_tscc->m_affiliations->releaseGrant(m_rfLC->getDstId(), false); } - } - - clearTSCCActivated(); + + clearTSCCActivated(); - if (!m_tscc->m_enableTSCC) { - notifyCC_ReleaseGrant(m_rfLC->getDstId()); + if (!m_tscc->m_enableTSCC) { + notifyCC_ReleaseGrant(m_rfLC->getDstId()); + } } if (m_rfTimeout) {