<@UD0R5903D> Since you're starting a background th...
# tornadofx
e
@arxenix Since you're starting a background thread in the
init
block of your main view, there is a distinct possibility that your event will fire before the rest of your UI is set up. You could probably just wrap the emission in a
runLater
- this will cause it to be queued on the UI thread, but you wouldn't have a guarantee in this case either. I'd move that code to a controller, but also initialize it from
onDock
since other UI elements are supposed to get notified of the event.