Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Starting ADB Server results in a dangling process as the server is treated as a child process #221

Open
BenWoodford opened this issue Dec 13, 2021 · 0 comments

Comments

@BenWoodford
Copy link

BenWoodford commented Dec 13, 2021

Not sure what the best resolution is here, I think perhaps UseShellExecute should be true when starting the server?

The main issue is it ends up leaving TCP sockets open and things like that if not cleaned up properly, as the ADB Server is running as a child of the .NET project, so the OS won't clean things up - despite the parent process ending it doesn't truly end until the ADB Server is killed as well

I assume it's start-server anyway, it could also be a hung command but I don't think I have any of those in my project...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant