Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set internal message ID to nextId after handling pending messages #9463

Merged
merged 5 commits into from
Apr 21, 2024
Merged

Set internal message ID to nextId after handling pending messages #9463

merged 5 commits into from
Apr 21, 2024

Conversation

GCRev
Copy link
Contributor

@GCRev GCRev commented Apr 15, 2024

There is an existing mechanism for handling message overflow, but when triggered, it does not update the internal ID for the next message that comes in, which stops any further messages from being handled. I found this while working with the shell plugin and integrating a sidecar that sends a lot of responses for each request.

In my testing, this single line fix solves the problem.

closes tauri-apps/plugins-workspace#1169

@FabianLars
Copy link
Member

I'm not really familiar with this code so i leave the review to others, but from my testing this PR fixes #9463 🥳

@amrbashir
Copy link
Member

cc @lucasfernog

@AmeroHan
Copy link

Thank you! This works for me too

lucasfernog
lucasfernog previously approved these changes Apr 21, 2024
@lucasfernog lucasfernog merged commit cf615e8 into tauri-apps:dev Apr 21, 2024
10 checks passed
@GCRev GCRev deleted the bugfix/core-ipc-message-id branch April 24, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[shell] v2 comment.execute() has been waiting for a response.
5 participants