-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(core): Initialize command cache when a capability is added #11785
fix(core): Initialize command cache when a capability is added #11785
Conversation
Package Changes Through eb83553There are 8 changes which include @tauri-apps/api with minor, tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
@lars-berger you have a couple of commits that are not verified and I can't merge the PR unless they are signed. you can sign past commit like this. |
1707203
to
eb83553
Compare
@amrbashir Rebased with signed commits 👍 |
This line of
src/ipc/authority.rs
panics when a command is run after a capability is added at runtime (viaadd_capability
).add_capability
deletes its correspondingcommand_cache
entry here, which then causes the above line to panic.