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

fix(core): deadlock when creating new window with tracing feature #11213

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

lucasfernog
Copy link
Member

when the tracing feature is enabled, all eval() calls are synchronous (so we can track how much time they take) so the window creation hooks deadlocks since we're also reacting to a main thread window event at the same time. running the hooks in a separate thread fixes this.

closes crabnebula-dev/devtools#352

Verified

This commit was signed with the committer’s verified signature. The key has expired.
lucasfernog Lucas Fernandes Nogueira
when the tracing feature is enabled, all eval() calls are synchronous (so we can track how much time they take) so the window creation hooks deadlocks since we're also reacting to a main thread window event at the same time.
running the hooks in a separate thread fixes this.

closes crabnebula-dev/devtools#352
@lucasfernog lucasfernog requested a review from a team as a code owner October 3, 2024 21:31
Copy link
Contributor

github-actions bot commented Oct 3, 2024

Package Changes Through f6a80ec

There are 2 changes which include tauri-bundler with patch, tauri 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-bundler 1.7.0 1.7.1
tauri 1.8.0 1.8.1
@tauri-apps/cli 1.6.2 1.6.3
tauri-cli 1.6.2 1.6.3

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


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

lucasfernog and others added 2 commits October 4, 2024 07:39

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

Verified

This commit was signed with the committer’s verified signature. The key has expired.
lucasfernog Lucas Fernandes Nogueira
@lucasfernog lucasfernog merged commit c72cd45 into 1.x Oct 4, 2024
24 checks passed
@lucasfernog lucasfernog deleted the fix/window-create-deadlock branch October 4, 2024 19:13
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.

None yet

2 participants