Skip to content

Thread processInputReaderThead created by CifsWinRmConnection never died #87

@zerikv

Description

@zerikv

Hello,

After executing commands with a WinRM connection, I can see in Visual VM many living Threads "Input reader for ..." (with OverThere 2.2.2).

These threads are created by CifsWinRmConnection#startProcess and stuck in PipedInputStream#read.

I can fix this issue by adding the following line:

processInputReaderThead.interrupt();

in the finally block of the method waitFor() of the OverthereProcess returned.

Do you see a better way to solve it?

Thanks,

Eric.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions