From 3d32784e62ac73af6eed4dc0bf595d04af611a2b Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Fri, 16 Jun 2023 12:58:40 -0300 Subject: [PATCH] fix isolation message detection --- core/tauri-utils/src/pattern/isolation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tauri-utils/src/pattern/isolation.js b/core/tauri-utils/src/pattern/isolation.js index acb638feeeaf..18e4cad86278 100644 --- a/core/tauri-utils/src/pattern/isolation.js +++ b/core/tauri-utils/src/pattern/isolation.js @@ -81,7 +81,6 @@ function isIsolationPayload(data) { return ( typeof data === 'object' && - typeof data.payload === 'object' && 'callback' in data && 'error' in data && !isIsolationMessage(data)