Meet memory leak when using Layer
Dear Kinoma fellow,
When using Layer to implement transition, memory leak is observed. Use the code below to reproduce: var ui = new Label(); application.add(ui); var testlayer = new Layer; testlayer.attach(ui); testlayer.detach(); trace("a"); application.remove(ui); Each time the code is executed, the memory cost keeps increasing by several kilo Bytes. If comment out the 3 lines, the memory leakage can't be reproduced. var testlayer = new Layer; testlayer.attach(ui); testlayer.detach();
My kinoma version is Fsk7.0.18 on linux.