X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fjavascript%2FfixedExample.js;h=55ed724d1e7e5bc4f0e204b5722cf480c1b5cad5;hb=047dccf2e009310d2ca67e225b4252bd5ebfe65c;hp=8aab9cb7a80544f2a83f2c7f348c6b711776bfba;hpb=cf02ff9e146e22a2f99a6af35de7ce49efd4c6b5;p=poolifier.git diff --git a/examples/javascript/fixedExample.js b/examples/javascript/fixedExample.js index 8aab9cb7..55ed724d 100644 --- a/examples/javascript/fixedExample.js +++ b/examples/javascript/fixedExample.js @@ -30,7 +30,7 @@ for (let i = 1; i <= iterations; i++) { console.info(`The pool was busy for ${poolBusy} times`) return pool.destroy() } - return null + return undefined }) .catch(err => console.error(err)) }