Skip to content

AppiumTransport.disposeSync method

AppiumTransport › disposeSync

Synchronous teardown for process.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(): void

Returns: void