Closed jperedadnr closed 3 years ago
@eugener I've quickly applied AutoCloseable
, but that didn't seem to help. Each TileImageView
will need its own Executor in order to shut it down when the tile is not longer in the scene?
On a different approach, I've applied successfully this option. It uses a DaemonThreadFactory
, so the Executor now will create daemon threads, and the app will successfully exit.
Ah...This should work too. But it is not part of this PR yet?
No, not yet, I tested it, and I was running it by you first before pushing it :)
I've added now the DaemonThreadFactory
class
Fixes #47