Skip to content

Commit

Permalink
update cursive
Browse files Browse the repository at this point in the history
`cursive` now requires `Send + Sync` bounds, so I had to switch from
`Rc<RefCell<...>>` to `Arc<Mutex<...>>`. I also coalesced some
lock calls together, hopefully without introducing any deadlocks.
I don't see any calls into the UI that would need the model while these
are held, and it seemed fine in a quick test.
  • Loading branch information
scottlamb committed Aug 24, 2024
1 parent f9e3fb5 commit 06f9425
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 78 deletions.
131 changes: 114 additions & 17 deletions server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ blake3 = "1.0.0"
bpaf = { version = "0.9.1", features = ["autocomplete", "bright-color", "derive"]}
bytes = "1"
byteorder = "1.0"
cursive = { version = "0.20.0", default-features = false, features = ["termion-backend"] }
cursive = { version = "0.21.1", default-features = false, features = ["termion-backend"] }
db = { package = "moonfire-db", path = "db" }
futures = "0.3"
h264-reader = { workspace = true }
Expand Down
Loading

0 comments on commit 06f9425

Please sign in to comment.