Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Release Fibers that are not added back to the pool.
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 bbe4f0d20b70417950381aea112993c4cc8c1168
Showing with 1 addition and 0 deletions.
  1. +1 −0 fiber_pool.js
@@ -62,6 +62,7 @@ function FiberPool(targetFiberCount) {
fiber = null;

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

0 comments on commit bbe4f0d

Please sign in to comment.