refactor: remove menu tree changes
This commit is contained in:
parent
93e3d4fd42
commit
5a5670eda5
9 changed files with 221 additions and 197 deletions
|
|
@ -130,6 +130,7 @@ pub struct State {
|
|||
pub(crate) tree: Arc<Mutex<Tree>>,
|
||||
}
|
||||
|
||||
// TODO use the Rc wrapper instead
|
||||
// XXX The tree is only used on one thread, but this is needed to make a message
|
||||
unsafe impl Send for State {}
|
||||
unsafe impl Sync for State {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue