Skip to content

Commit

Permalink
Fix async multiwindow deadlock (#382)
Browse files Browse the repository at this point in the history
* fix async multiwindow deadlock

* cargo +nightly fmt
  • Loading branch information
chippers authored Aug 17, 2021
1 parent 5ac734b commit 5377821
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/async-multiwindow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wry": patch
---

Fixed a Linux multi-window issue where the internal url loader didn't unlock when flushed while empty
2 changes: 2 additions & 0 deletions src/webview/web_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ pub mod unix {
});

webview.load_uri(url.as_str());
} else {
self.unlock();
}
}
}
Expand Down

0 comments on commit 5377821

Please sign in to comment.