Skip to content

file monitor should stop background thread on application shutdown #743

@jknack

Description

@jknack
{
 use(new FileWatcher()
        .register(Paths.get("workdir", "watchme"), MyFileEventHandler.class)
 );
}

It is a minor bug due the background thread is a daemon and goes automatically down on application shutdown. Still, it doesn't go down in embedded system like integration tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions