Skip to content

Commit

Permalink
Fix isAlive = false
Browse files Browse the repository at this point in the history
  • Loading branch information
jfberry authored and Fabio1988 committed Nov 13, 2024
1 parent a93f55f commit 87c6a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/connections/src/lib/deviceWorkerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class DeviceWorkerConnection extends EventEmitter {

disconnected() {
this.heartbeatCheckStatus = false;
this.isAlive = true;
this.isAlive = false;
clearInterval(this.heartbeatHandle);

this.emit('disconnected', this);
Expand Down

0 comments on commit 87c6a47

Please sign in to comment.