When the TNS process has been closed we're still hanging the debugger as if you can still do something.
This is easily reproducible if there is need for interactive input from the user. For example if you have two provisioning profiles and run launch ios from the app it will try to find a provisioning profile for you, get confused, can't get a decision and return an error for you to pass the teamId as an arg. After that the TNS exits. Currently we hang, now we raise the terminate event.
Another way to test:
Run IOS in Simulator
Close the Simulator. The process should be terminated.
When the TNS process has been closed we're still hanging the debugger as if you can still do something.
This is easily reproducible if there is need for interactive input from the user. For example if you have two provisioning profiles and run
launch ios
from the app it will try to find a provisioning profile for you, get confused, can't get a decision and return an error for you to pass theteamId
as an arg. After that the TNS exits. Currently we hang, now we raise the terminate event.Another way to test: