mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
fix(core): regression on process-ipc-message-fn (#8749)
This commit is contained in:
parent
8f0e50f396
commit
863bc9e55f
5
.changes/fix-process-ipc-message-fn.md
Normal file
5
.changes/fix-process-ipc-message-fn.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"tauri": patch:bug
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix regression on the JavaScript code that processes the IPC message.
|
@ -14,3 +14,4 @@ CHANGELOG.md
|
|||||||
*.wxs
|
*.wxs
|
||||||
**/reference.md
|
**/reference.md
|
||||||
*schema.json
|
*schema.json
|
||||||
|
core/tauri/scripts/process-ipc-message-fn.js
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// this is a function and not an iife so use it carefully
|
// this is a function and not an iife so use it carefully
|
||||||
|
|
||||||
;(function (message) {
|
(function (message) {
|
||||||
if (
|
if (
|
||||||
message instanceof ArrayBuffer ||
|
message instanceof ArrayBuffer ||
|
||||||
ArrayBuffer.isView(message) ||
|
ArrayBuffer.isView(message) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user