Skip to content

tauri-runtime-wry windows store RefCell refactor#15020

Draft
chippers wants to merge 21 commits intotauri-apps:devfrom
chippers:refcell-refactor
Draft

tauri-runtime-wry windows store RefCell refactor#15020
chippers wants to merge 21 commits intotauri-apps:devfrom
chippers:refcell-refactor

Conversation

@chippers
Copy link
Copy Markdown
Member

@chippers chippers commented Mar 3, 2026

Draft as this is experimental, I don't know if this is the proper solution.

Related to #15003, this attempts to fix the underying panic by moving all calls to try_ variants and adding logs where it cannot fail. The newtype for WindowsStore is written using callbacks to help reduce the changes of a borrow guard lasting longer than it should by accident.

I was originally going to write this with a Mutex/RwLock, but since I was triggering it with only a main thread (based on my debugging) the same faulty logic should be able to create a deadlock. At least this gives insight when borrowed and not

@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Mar 3, 2026
@chippers chippers changed the title Refcell refactor tauri-runtime-wry windows store RefCell refactor Mar 3, 2026
@chippers chippers changed the title tauri-runtime-wry windows store RefCell refactor tauri-runtime-wry windows store RefCell refactor Mar 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2026

Package Changes Through 766668b

There are 4 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri-runtime with patch, tauri-runtime-wry with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-runtime 2.10.1 2.10.2
tauri-runtime-wry 2.10.1 2.10.2
tauri 2.10.3 2.10.4
@tauri-apps/cli 2.10.1 2.10.2
tauri-cli 2.10.1 2.10.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬Proposal

Development

Successfully merging this pull request may close these issues.

3 participants