From e394cb85acdf062fb3f0d87819230acfbffa1ce0 Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Sat, 7 Apr 2018 12:39:25 -0400 Subject: [PATCH] #31 fix synchronized error --- src/jexer/TApplication.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jexer/TApplication.java b/src/jexer/TApplication.java index 34f1559..9fa64d0 100644 --- a/src/jexer/TApplication.java +++ b/src/jexer/TApplication.java @@ -1205,7 +1205,8 @@ public class TApplication implements Runnable { keepTimers.add(timer); } } - timers = keepTimers; + timers.clear(); + timers.addAll(keepTimers); } // Call onIdle's -- 2.27.0