mutiny-node icon indicating copy to clipboard operation
mutiny-node copied to clipboard

Unsafe aliasing in rust after adding first federation

Open TonyGiorgio opened this issue 1 year ago • 1 comments

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.

TonyGiorgio avatar Jan 03 '24 19:01 TonyGiorgio

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.

TonyGiorgio avatar Jan 29 '24 15:01 TonyGiorgio