Skip to content

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

Maxim Onciul requested to merge 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 Maxim Onciul

Merge request reports

Loading