RFR: 8231372: Correctly terminate secondary event loop in JFXPanel.setScene()
github.com+562920+mruzicka at openjdk.org
Thu Oct 17 15:28:28 UTC 2019
Secondary event loop introduced as a means of synchronization with the JavaFX Application thread in  never terminates as the SecondaryLoop.exit() call is not reached because the thread is blocked in the SecondaryLoop.enter() call.
This patch fixes the problem by submitting the UI work (including the call to the SecondaryLoop.exit() method) before entering the secondary loop.
- 9483ccde: 8231372: Correctly terminate secondary event loop in JFXPanel.setScene()
Stats: 6 lines in 1 file changed: 1 ins; 2 del; 3 mod
Fetch: git fetch https://git.openjdk.java.net/jfx pull/16/head:pull/16
More information about the openjfx-dev