robin
02/13/2017, 8:44 AMfun dostuff() {
val a = A()
a.start()
println("mid run")
a.finalize()
}
If you did anything with try finally
or the likes I'd understand, but you're just putting the block that should run last at the beginning of the block - that seems counter intuitive to me.