Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.


Release Fibers that are not added back to the pool.
Browse files Browse the repository at this point in the history
This commit fixes issue meteor/meteor#10359.
Fibers that are created and not returned to the pool are not
released. They will accumulate over time and the node process will get
stuck and must be restarted.

This change simple resets handle to a fiber when we are done with it...
which releases it properly.
  • Loading branch information
VeselyT committed Dec 5, 2018
1 parent 466b1c8 commit bbe4f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fiber_pool.js
Expand Up @@ -62,6 +62,7 @@ function FiberPool(targetFiberCount) {
fiber = null;

// Run the new Fiber up to the first yield point, so that it will be
Expand Down

0 comments on commit bbe4f0d

Please sign in to comment.