Queue messages in the frontend when they can't be processed (#3005)

This commit is contained in:
Dennis Kobert
2025-08-05 22:52:54 +02:00
committed by GitHub
parent 23eb5998db
commit 309a64340b
2 changed files with 22 additions and 3 deletions
+1
View File
@@ -21,6 +21,7 @@ pub static LOGGER: WasmLog = WasmLog;
thread_local! {
pub static EDITOR: Mutex<Option<editor::application::Editor>> = const { Mutex::new(None) };
pub static MESSAGE_BUFFER: std::cell::RefCell<Vec<Message>> = const { std::cell::RefCell::new(Vec::new()) };
pub static EDITOR_HANDLE: Mutex<Option<editor_api::EditorHandle>> = const { Mutex::new(None) };
}