Skip to content

Referencing of unbound nodes may be incorrect. #94

@dwarring

Description

@dwarring

I'm suspecting unbound nodes can have the owner document destroyed, e.g.

my LibXML::Document $doc .= new;
my LibXML::Element $elem = $doc.createElement: 'root';
$doc = Nil;
# sometime later
$elem.doc.root = $elem;

The problem (I think), is that there's nothing currently keeping the document alive, if it's not explicitly referenced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions