mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
fixing crashes
This commit is contained in:
@@ -237,7 +237,7 @@ exports.shiftStats = async function () {
|
||||
tg.totalLen = 0;
|
||||
if (tgHistoryTotal == 0) {
|
||||
// there has been no recent activity on this talkgroup. remove it from the stats.
|
||||
delete stat[talkgroupNum];
|
||||
delete sysTalkgroupStats[talkgroupNum];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user