Merge branch 'master' of github.com:jerome-benoit/poolifier
[poolifier.git] / src / worker / abstract-worker.ts
index 0f1d442a6f242ef2a25068f8e212f2fbff686a37..428f63134f5666a13087ca564a22336236f00db2 100644 (file)
@@ -335,7 +335,6 @@ export abstract class AbstractWorker<
       this.checkActive.bind(this),
       (this.opts.maxInactiveTime ?? DEFAULT_MAX_INACTIVE_TIME) / 2
     )
-    this.activeInterval.unref()
   }
 
   /**
@@ -373,7 +372,7 @@ export abstract class AbstractWorker<
   }
 
   /**
-   * Sends a message to the main worker.
+   * Sends a message to main worker.
    *
    * @param message - The response message.
    */