@Thomas S method_b new class1
//class1 DOES NOT destruct here. It survives after following break statement, until the very end of the method
break
maybe the scope is more like this, valid inside in method Test, but then i would also expect the same behavior.
it would be a memory leak if obj is valid/exists outside of the method test and garbage collector had run.
method Test() var obj = new class1 call method_b obj end method