Skip to content

Commit

Permalink
fix: spawn async event loop on gtk to prevent delayed messages (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschey authored Mar 31, 2021
1 parent 531f2a7 commit d2a2a9f
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 162 deletions.
5 changes: 5 additions & 0 deletions .changes/delayed_processing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'wry': patch
---

Fix messages to the webview from the backend being delayed on Linux/GTK when the user is not actively engaged with the UI.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ glib = "0.10"
gtk = "0.9"
gdk = "0.13"
gdk-pixbuf = "0.9"
async-channel = "1.6"

[target."cfg(target_os = \"windows\")".dependencies]
webview2 = "0.1.0-beta.1"
Expand Down
Loading

0 comments on commit d2a2a9f

Please sign in to comment.