diff --git a/src/puppet-mock.ts b/src/puppet-mock.ts index d2494ae..e46039f 100644 --- a/src/puppet-mock.ts +++ b/src/puppet-mock.ts @@ -436,6 +436,13 @@ export class PuppetMock extends Puppet { return } + public unref (): void { + log.verbose('PuppetMock', 'unref()') + super.unref() + if (this.loopTimer) { + this.loopTimer.unref() + } + } } export default PuppetMock