Hey guys !
First time here. I'm quite new to TornadoFx.
I'm trying to swap two views inside a window. Looking at the heap, it seems like replacewith causes a memory leak.
So, what would be the most idiomatic way to gracefully to either : disposing of a view after it's replaced, or keeping the instances, while retaining the ability to inject a model when going back and forth.
I may be looking a it from a totally wrong angle, feel free to correct me.
The guide didn't really help me, it seems to be targeted to people who have a better understanding of JavaFx me.