Skip to content

Commit

Permalink
Increase mpsc channel size
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGiorgio committed May 17, 2024
1 parent c7137b6 commit cbc1d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub struct CoreHandle {
}

pub fn create_handles() -> (UIHandle, CoreHandle) {
let (ui_to_core_tx, core_from_ui_rx) = mpsc::channel::<UICoreMsg>(1);
let (ui_to_core_tx, core_from_ui_rx) = mpsc::channel::<UICoreMsg>(50);

let ui_handle = UIHandle { ui_to_core_tx };

Expand Down

0 comments on commit cbc1d70

Please sign in to comment.