Skip to content

fix: release hdc fport so the local port is free after each run - #63

Open
tonycoder-hub wants to merge 2 commits into
codematrixer:masterfrom
tonycoder-hub:cursor/fix-hdc-fport-release-afa7
Open

fix: release hdc fport so the local port is free after each run#63
tonycoder-hub wants to merge 2 commits into
codematrixer:masterfrom
tonycoder-hub:cursor/fix-hdc-fport-release-afa7

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Fixes #58

hdc fport local ports were left mapped after a driver session, so the next run could fail. Release the forward on driver close and process exit; if fport rm hangs, kill the process group on timeout.

No device required for the unit tests covering release/timeout.

Signed-off-by: Tony Coder 407243179@qq.com

Signed-off-by: Tony Coder <407243179@qq.com>
Signed-off-by: Tony Coder <407243179@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

每次使用后端口号不能自动释放

1 participant