Router: Hopefully fix rare shutdown deadlock

via RouterAppManager.shutdown() ... log(CRIT) ... addBubble()
This commit is contained in:
zzz
2025-05-04 13:58:26 -04:00
parent 3490a1a6ec
commit 0da4cf49c1

View File

@ -261,8 +261,10 @@ public class RouterAppManager extends ClientAppManagerImpl {
* @since 0.9.66
*/
@Override
public synchronized void addBubble(String svc, String text) {
setBubble(svc, getBubbleCount(svc) + 1, text);
public void addBubble(String svc, String text) {
synchronized(_bubbles) {
setBubble(svc, getBubbleCount(svc) + 1, text);
}
}
/// end ClientAppManager interface