Skip to content

Process descriptor leak on error #150

@jakepetroules

Description

@jakepetroules

In configuration.run, this is called:

// Close process file descriptor now we finished monitoring
execution.processIdentifier.close()

This needs to be moved up into a defer block immediately after execution is retrieved, or the process descriptors will leak when monitorProcessTermination throws.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions