Permalink
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...
1 parent 0fc00df commit 1d2e229b9e2fa89602e6a5dd80b47a0fa7db0f1a @dbussink dbussink committed Sep 21, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 vm/fiber_stack.cpp
View
@@ -57,9 +57,7 @@ namespace rubinius {
i != datas_.end();
++i)
{
- FiberData* data = *i;
- data->die();
- delete data;
+ (*i)->die();
}
for(Stacks::iterator i = stacks_.begin();

0 comments on commit 1d2e229

Please sign in to comment.