gonotify icon indicating copy to clipboard operation
gonotify copied to clipboard

Add synchronisation to wait for goroutine completion

Open w-miller opened this issue 1 year ago • 0 comments

The new WaitForStop method waits for all goroutines spawned by a file or directory watcher to have terminated, giving applications a way to deterministically wait for resource cleanup to have completred after cancelling the passed context.

Add goleak checks to tests, verifying that no rogue goroutines are present at test teardown.

w-miller avatar Aug 05 '24 13:08 w-miller