Skip to content

Commit

Permalink
Revert "Plug memory leak in fibers"
Browse files Browse the repository at this point in the history
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
dbussink committed Sep 21, 2012
1 parent 0fc00df commit 1d2e229
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vm/fiber_stack.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 1d2e229

Please sign in to comment.