Skip to content

Commit a6fa9c3

Browse files
chore: remove device process propery
1 parent abe3a29 commit a6fa9c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/device-manager.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ export class DeviceManager implements IDeviceManager {
9090

9191
if (device.status === Status.SHUTDOWN) {
9292
await DeviceController.startDevice(device);
93+
try {
94+
delete device.process;
95+
} catch (error) { }
96+
9397
logInfo("Started device: ", device);
9498
} else {
9599
device.type === DeviceType.DEVICE ? logInfo("Device is connected:", device) : logInfo("Device is already started", device)

0 commit comments

Comments
 (0)