Skip to content

Port is not closed if the current thread is interrupted #201

@fwolter

Description

@fwolter

If the port is closed when the current Java thread is interrupted, the closing will be skipped silently.

IOLockedMutex.writeLock().tryLock() throws a InterruptedException here without even trying to acquire the lock. This skips the actual close without any notice.

Expected behavior would be to try at least one time to acquire the lock and close the port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions