RFR: 8248381: Create a daemon thread for MonocleTimer

Kevin Rushforth kcr at openjdk.java.net
Sat Jun 27 16:16:43 UTC 2020


On Sat, 27 Jun 2020 14:10:21 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Note that this is a regression error that is not present in JavaFX 14, so it would be good to fix it before JavaFX 15
>> is released.
>
> The regression was caused by the fix for [JDK-8176499](https://bugs.openjdk.java.net/browse/JDK-8176499). See PR #117.

On second thought, this seems more like a workaround than a fix. Maybe it would be better to shutdown the timer to shut
it down in an orderly fashion with the FX runtime is terminated. The `QuantumToolkit::exit` method already calls
`PulseTimer::stop` so that seems a likely place to stop the timer.

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

PR: https://git.openjdk.java.net/jfx/pull/256


More information about the openjfx-dev mailing list