Skip to content

Fix memory leak: Ensure that the current fiber is recycled in discardAndResume()

Florian Schmaus requested to merge flow/emper:memleak-fix into master

The current Fiber is now always stored in the context, not just on debug builds. This also means that we can remove the currentFiber thread local variable, as using only a thread local storage would yield wrong results in case a blocked context is resumed on another worker thread.

Edited by Florian Schmaus

Merge request reports

Loading