mutiny-node
mutiny-node copied to clipboard
Unsafe aliasing in rust after adding first federation
recursive use of an object detected which would lead to unsafe aliasing in rust
I think this is because how I'm swapping in GlueDB after it inits a federation for the first time if none existed. Doesn't seem to hurt anything but probably not safe. A better approach would be to empty init GlueDB
but do not start it until a federation is added.
This is happening somewhere in FederationClient::new
but only when adding for the first time. But it's happening either kind of inconsistently or the error log is showing up in different places sometimes. Hard to tell but nothing important I think. Postponing for later, nothing is presenting itself as a problem.