Skip to content

fix(wry): WryCookieManager.getCookies always throw WrongThread exception on Windows#38

Merged
kdroidFilter merged 1 commit intokdroidFilter:mainfrom
KRTirtho:fix-windows-get-cookies
May 8, 2026
Merged

fix(wry): WryCookieManager.getCookies always throw WrongThread exception on Windows#38
kdroidFilter merged 1 commit intokdroidFilter:mainfrom
KRTirtho:fix-windows-get-cookies

Conversation

@KRTirtho
Copy link
Copy Markdown
Contributor

@KRTirtho KRTirtho commented Apr 30, 2026

Fixes #25
On JVM, the WryWebviewPanel.getCookies(url: String) was returning empty list of cookies resulting the CookieManager not working for desktop platform. Using Swing EDT fixes this issue.

Tested on macOS and Windows and is working correctly now in the demo app.

@KRTirtho KRTirtho changed the title fix: WryCookieManager.getCookies always throw WrongThread exception on Windows fix(wry): WryCookieManager.getCookies always throw WrongThread exception on Windows Apr 30, 2026
@kdroidFilter kdroidFilter merged commit 5aeb268 into kdroidFilter:main May 8, 2026
4 checks passed
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.

WryCookieManager.getCookies always throw WrongThread exception on Windows.

2 participants