From f5938fa8e2aa4f389de60b962104f02a04918ca3 Mon Sep 17 00:00:00 2001 From: Denny Sheirer Date: Tue, 13 Feb 2024 04:05:35 -0500 Subject: [PATCH] #1856 DMR traffic channel thread dead-lock. Removing synchronized method access since content access is already protected by the reentrant lock. The synchronized method is redundant and also causing the dead-lock. (#1857) Co-authored-by: Dennis Sheirer --- .../dsheirer/module/decode/dmr/DMRTrafficChannelManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dsheirer/module/decode/dmr/DMRTrafficChannelManager.java b/src/main/java/io/github/dsheirer/module/decode/dmr/DMRTrafficChannelManager.java index 6b35a01c6..8ec886fef 100644 --- a/src/main/java/io/github/dsheirer/module/decode/dmr/DMRTrafficChannelManager.java +++ b/src/main/java/io/github/dsheirer/module/decode/dmr/DMRTrafficChannelManager.java @@ -805,7 +805,7 @@ else if(!decodeEvent2.getDetails().endsWith(CHANNEL_START_REJECTED)) * @param channelEvent to process */ @Override - public synchronized void receive(ChannelEvent channelEvent) + public void receive(ChannelEvent channelEvent) { Channel channel = channelEvent.getChannel();