mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 19:25:12 +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.
|
@ -13,4 +13,5 @@ dist
|
||||
CHANGELOG.md
|
||||
*.wxs
|
||||
**/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
|
||||
|
||||
;(function (message) {
|
||||
(function (message) {
|
||||
if (
|
||||
message instanceof ArrayBuffer ||
|
||||
ArrayBuffer.isView(message) ||
|
||||
|
Loading…
Reference in New Issue
Block a user