void OnDestroy() { DeviceController.Disconnect(); DeviceController = new DeviceController(this, null); }
protected override async Task DoExecuteAsync() { _deviceController.Disconnect(); }