AppiumTransport.disposeSync method
AppiumTransport › disposeSync
Synchronous teardown forprocess.on('exit') handlers.Only the trusted-input channel needs it: the Appium session is the owning process's to end, and an abrupt exit is exactly when the async AppiumTransport.dispose never runs — which would strand the adb port forward on the device.
Signature:
disposeSync(): voidReturns: void