Skip to content

Commit 05c63e8

Browse files
author
Alexander Zvegintsev
committed
8361524: [XWayland] possible JavaFX interop hang
Reviewed-by: psadhukhan, serb, prr, kizune, kcr
1 parent 559795b commit 05c63e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ static void callbackScreenCastStart(
716716
DEBUG_SCREENCAST("Failed to start screencast: %u\n", status);
717717
startHelper->result = RESULT_DENIED;
718718
helper->isDone = TRUE;
719+
callbackEnd();
719720
return;
720721
}
721722

@@ -731,6 +732,7 @@ static void callbackScreenCastStart(
731732
DEBUG_SCREENCAST("No streams available with current token\n", NULL);
732733
startHelper->result = RESULT_NO_STREAMS;
733734
helper->isDone = TRUE;
735+
callbackEnd();
734736
return;
735737
}
736738

0 commit comments

Comments
 (0)