mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 11:22:04 +00:00
Revert "Use proxy.send_event if we're handling events"
This reverts commit 6a56b26b4c.
This commit is contained in:
parent
6a56b26b4c
commit
e89f96602f
@ -213,7 +213,7 @@ pub(crate) fn send_user_message<T: UserEvent>(
|
||||
context: &Context<T>,
|
||||
message: Message<T>,
|
||||
) -> Result<()> {
|
||||
if current_thread().id() == context.main_thread_id && context.plugins.try_lock().is_ok() {
|
||||
if current_thread().id() == context.main_thread_id {
|
||||
handle_user_message(
|
||||
&context.main_thread.window_target,
|
||||
message,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user