petdance/scratch — Issue #878: Correct destruction of PackFile objects
Author: petdance
Created: 2011-11-01 05:37:11+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

Originally opened as http://rt.perl.org/rt3/Ticket/Display.html?id=46687

{{{
In src/pmc/eval.pmc:thaw() there is the todo item (with some context):

/*
* XXX this isn't ok - it seems that the packfile
* gets attached to interp->code and is
* destroyed again during interpreter destruction
*/
/* PackFile_destroy(INTERP, pf); */

This issue needs correcting such that the PackFile object is cleanly
destroyed.
}}}

jonathan:
{{{
This problem will go away once packfiles are garbage collectable, as
specified in the bytecode PDD
}}}
Trac ID #1292