@wrongstack/tools 0.6.5 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1341,10 +1341,11 @@ var bashTool = {
1341
1341
  child.kill("SIGKILL");
1342
1342
  }
1343
1343
  } catch {
1344
+ } finally {
1345
+ killTimer.unref?.();
1344
1346
  }
1345
1347
  }, 2e3);
1346
1348
  timers.push(killTimer);
1347
- killTimer.unref?.();
1348
1349
  } catch {
1349
1350
  }
1350
1351
  }