Skip to content

Commit

Permalink
Dispose the host before ending the run
Browse files Browse the repository at this point in the history
  • Loading branch information
codenirvana committed Aug 16, 2024
1 parent 835feb0 commit b4b812c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
unreleased:
fixed bugs:
- Fixed a bug where script host was not disposed after the run
chores:
- GH-1443 Added support for `agentIdleTimeout` configuration

7.41.1:
date: 2024-08-06
chores:
Expand Down
3 changes: 3 additions & 0 deletions lib/runner/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ _.assign(Run.prototype, {

// if there is nothing to process, exit
if (!instruction) {
// dispose the host before ending the run
this.host && this.host.dispose();

callback(null, this.state.cursor.current());

return;
Expand Down

0 comments on commit b4b812c

Please sign in to comment.