On Mon, 7 Jul 2025 21:41:18 GMT, Alexander Zvegintsev <azveg...@openjdk.org> 
wrote:

> Callbacks in the 
> `src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.c` file 
> normally have the following pattern:
> 
> 
> helper->isDone = TRUE;
> callbackEnd();
> // return;
> 
> 
> Failing to call `callbackEnd()` could result in a hang if another GTK loop is 
> running (e.g., JavaFX see 
> https://github.com/openjdk/jdk/pull/22131#issue-2660482472).
> 
> This fix corrects this flaw.

Marked as reviewed by serb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/26172#pullrequestreview-3034308682

Reply via email to