Skip to content

Commit

Permalink
Fix interval clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
MultiMote committed Sep 12, 2024
1 parent a0d3cb0 commit 7d9db2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions niimbluelib/src/packets/abstraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ export class Abstraction {
}
})
.catch((e: unknown) => {
clearInterval(this.statusPollTimer);
reject(e as Error);
});
}, pollIntervalMs);
Expand Down

0 comments on commit 7d9db2c

Please sign in to comment.