Skip to content

Thread created by NamedThreadFactory should be a daemon #1390

@z1c0

Description

@z1c0

In src/main/java/org/java_websocket/util/NamedThreadFactory.java, when a new Thread gets created, it should be marked as a background thread.

thread.setDaemon(true);

I'm using this library in a context where I have no control over shutdown (I get no callback or notification) and this thread is preventing proper shutdown.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions