PDA

View Full Version : [FIXED] Memory leak with layout property align: stretch



lracapet
8 Jul 2015, 1:09 AM
Hi,

I have noticed a memory leak involving the layout type. It's reproduced in this fiddle :

https://fiddle.sencha.com/#fiddle/po6

This fiddle uses the 'border' layout with two regions :
- center region : two grids, layout: type hbox and align stretch
- south region : a button which text is updated every second

Everytime the button text changes, the chrome memory profiler shows a leak of ~120kb.

52807

If I comment out the align stretch line (95 in fiddle), the leak dissappears :

52806

This problem also exists in 5.x versions.

Thanks,

Mathieu

evant
8 Jul 2015, 4:08 AM
Really interesting, thanks for the test case we'll look into it.