I know that you can not remove them manually by calling removeEventListener. There is documentation somewhere stating that. I do not know if they are removed internally by the framework
Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Fri, Nov 25, 2016 at 10:27 AM, Alex Harui <[email protected]> wrote: > > > On 11/25/16, 6:25 AM, "Frank Dahmen" <[email protected]> wrote: > > >Hi, > >e.g. > > > ><s:View creationComplete="init()"> > > <s:Button click="do() "/> > ></s:View> > > > >when i call navigator.popView() > >will the 2 eventhandlers be removed so the view can be gc'd ? > > Assuming init() and do() are defined in the same MXML file and do not > reference things outside the MXML file, there is no need to remove the > handlers to enable GC. > > HTH, > -Alex > >
