Alan Pierri
02/08/2019, 6:21 PMlateinit var foo: Foo
fun Application.main() {
if(!::foo.isInitialized){
// Initialize foo, which is heavy processing...
}
// More code...
}
Is there any way I can avoid re-initializing foo with Autoreload?
I hoped the initialization check would work, but it won't.Riccardo Montagnin
02/08/2019, 7:25 PMBrad Murray
02/12/2019, 9:46 PM