Skip to content

Commit

Permalink
Avoid that clearCache is called while another thread is still processing
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
  • Loading branch information
fipro78 committed Nov 13, 2024
1 parent 1368f55 commit 0e5a1bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public GlazedListsFilterRowComboBoxDataProvider(
}

// Start the event conflation thread
this.future = SCHEDULER.scheduleAtFixedRate(() -> {
this.future = SCHEDULER.scheduleWithFixedDelay(() -> {
if (this.cachingEnabled
&& this.active
&& this.eventsToProcess.compareAndSet(true, false)) {
Expand Down

0 comments on commit 0e5a1bd

Please sign in to comment.