Hi. I get a not so funny bug related to the GC / J...
# tornadofx
s
Hi. I get a not so funny bug related to the GC / JavaFx.
Copy code
override val root = vbox {
        val prop = SimpleStringProperty("").apply {  onChange {   println("changed to $it")    }  }
        textfield(prop)
    }
It works ("changed to ..") until I have a
[GC (Allocation Failure)...
then it doesn't. Looks like the property/listener is GC'd (some weak references?). Does that ring a bell?