Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Plug memory leak in fibers"

This reverts commit 88bd8df.

The reason why this looked like a leak is because we clean up fiber data
memory in the fiber finalizer. We don't run those yet on exit properly,
so that's why it looked like a leak but actually isn't.
  • Loading branch information...
commit 1d2e229b9e2fa89602e6a5dd80b47a0fa7db0f1a 1 parent 0fc00df
@dbussink dbussink authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 vm/fiber_stack.cpp
4 vm/fiber_stack.cpp
@@ -57,9 +57,7 @@ namespace rubinius {
i != datas_.end();
- FiberData* data = *i;
- data->die();
- delete data;
+ (*i)->die();
for(Stacks::iterator i = stacks_.begin();
Please sign in to comment.
Something went wrong with that request. Please try again.