From ac575ca60258f6f5c307314ee73d2b35281110bf Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray <57103426+arifBurakDemiray@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:40:57 +0300 Subject: [PATCH] feat: clear timed events1 (#97) --- .../src/main/java/ly/count/sdk/java/internal/ModuleEvents.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleEvents.java b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleEvents.java index f076af60a..bcf2a1082 100644 --- a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleEvents.java +++ b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleEvents.java @@ -53,6 +53,7 @@ public void stop(CtxCore ctx, boolean clear) { super.stop(ctx, clear); if (clear) { eventQueue.clear(); + timedEvents.clear(); } if (executor != null) { executor.shutdownNow();