Skip to content

Commit

Permalink
Test Stub
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Oct 28, 2024
1 parent 51723b6 commit a4f7a04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"gen": "node --no-warnings=ExperimentalWarning --loader ts-node/esm scripts/gen-hap-types.ts",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run lint && npm run build"
"prepublishOnly": "npm run lint && npm run build",
"test": "echo \"Error: no test specified\" && exit 0"
},
"dependencies": {
"axios": "1.7.7",
Expand All @@ -59,4 +60,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
}
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export class HapClient extends EventEmitter {
*/
public destroy() {
this.browser?.stop();

this.discoveryInProgress = false;
if (this.resetInstancePoolTimeout) {
clearTimeout(this.resetInstancePoolTimeout);
Expand Down

0 comments on commit a4f7a04

Please sign in to comment.