Skip to content

Cleanly Disconnect from DTB Upon Keyboard Interrupt #387

@cfangmeier

Description

@cfangmeier

The behavior that I have observed with pXar is that if one issues a keyboard interrupt(ctrl-C), pXar will quit without properly closing the connection to the DTB. The is a problem because it leaves the DTB unresponsive until it is power cycled. This is especially problematic if the DTB is in a remote location.

It would be preferable to catch the exception and close the connection before exiting. The Python "cmdline" seems to already be doing this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions