Ticket #1292 (new bug)

Opened 12 years ago

Correct destruction of PackFile objects

Reported by: coke Owned by:
Priority: normal Milestone:
Component: none Version:
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:


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


This problem will go away once packfiles are garbage collectable, as
specified in the bytecode PDD
Note: See TracTickets for help on using tickets.