From cbc1d70550becaa5dc9bb1e6df473f522c61b0ea Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Thu, 16 May 2024 22:52:23 -0500 Subject: [PATCH] Increase mpsc channel size --- src/bridge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridge.rs b/src/bridge.rs index 3eef466..a73aaa3 100644 --- a/src/bridge.rs +++ b/src/bridge.rs @@ -122,7 +122,7 @@ pub struct CoreHandle { } pub fn create_handles() -> (UIHandle, CoreHandle) { - let (ui_to_core_tx, core_from_ui_rx) = mpsc::channel::(1); + let (ui_to_core_tx, core_from_ui_rx) = mpsc::channel::(50); let ui_handle = UIHandle { ui_to_core_tx };