Skip to content

Commit

Permalink
feat: clear timed events1 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray authored Oct 5, 2023
1 parent 975c657 commit ac575ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ac575ca

Please sign in to comment.