Skip to content

9.8.2

Choose a tag to compare

@Osiris-Team Osiris-Team released this 19 Dec 20:09
· 1 commit to main since this release

DirWatcher fixes and enhancements:
// ISSUE: When locks outside the loop only 2 modify events?
// FIX (added in 9.8.2): This is because locks are also used in the event listener code above, thus the first event blocks
// until all other save operations are finished. Since the directory listener is single threaded this makes
// it miss the other events. To fix this DirWatcher now executes all event listeners asynchronously
// and each Event gets an ID if strict order is still required.
// ISSUE: When locks inside the loop, 9 modify events?
// FIX (added in 9.8.2): Prevent receiving two separate ENTRY_MODIFY events: file modified
// and timestamp updated. Instead, receive one ENTRY_MODIFY event
// with two counts.
// Thread.sleep(50);