-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
This is related to #37.
I just realized that it is unsound to use Arc, Rc, or references within an intrusive collection as I described in the README. The issue is that I switched modes from nodes point to Things (which own nodes) to nodes point to other nodes. If you own the node, but it is a part of a Thing, then when the owning Thing is dropped, you now have dangling pointer. Rust's compilation rules would normally prevent this from being a problem, but because of the amount of unsafe code that I already have to use, it is easy to make a mistake and bypass the compiler checks. I'm going to work on fixing this once I get a little more done on the singly linked list.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation