Holf / AllForOne

AllForOne stops child processes hanging around when your parent process stops.
MIT License
6 stars 4 forks source link

Can i use this if I'm not starting a process explicitly? #2

Closed cottsak closed 8 years ago

cottsak commented 8 years ago

I'm using a sub-c test that spawns a LocalDb instance. example: https://github.com/cottsak/mvc6webapicompare/blob/master/webapi2/SocksDrawer.Tests/DrawerControllerTests.cs#L47

I don't explicitly control the LocalDb instance however it's likely that it's LocalDb keeping my xunit test runner hanging as per this issue.

@robdmoore suggested that perhaps I could use this to help solve my "build hang" problem. Is this possible?

Holf commented 8 years ago

I don't know the specifics, in that there may already be process job management going on for your troublesome process. It's certainly worth a try though.