mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 11:43:06 +03:00
Set internal message ID to nextId after handling pending messages (#9463)
* Set internal message ID to nextId after handling pending messages * add change file * update bundle * update reference.md --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
parent
de7a294cc4
commit
cf615e8e4d
5
.changes/fix-channel-buffer-processing.md
Normal file
5
.changes/fix-channel-buffer-processing.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tauri-apps/api": patch:bug
|
||||
---
|
||||
|
||||
Fixes a bug when processing channel messages out of order.
|
File diff suppressed because one or more lines are too long
@ -63,6 +63,7 @@ class Channel<T = unknown> {
|
||||
break
|
||||
}
|
||||
}
|
||||
this.#nextMessageId = nextId
|
||||
}
|
||||
} else {
|
||||
this.#pendingMessages[id.toString()] = message
|
||||
|
Loading…
Reference in New Issue
Block a user