Skip to content

Commit

Permalink
add destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreCrb committed Jul 7, 2023
1 parent a8a3974 commit ab19b3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class PhoenixAPI {
public close(): void {
if (this.isWorkerRunning()) {
this._do_work = false;
this._socket.destroy();
this._worker.terminate();
}
}
Expand Down
17 changes: 0 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab19b3e

Please sign in to comment.