You are reading a single comment by @wagnerf42 and its replies. Click here to read the full conversation.
  • yes, this guy : https://pastebin.com/D5k8NFhh

    is not freeing the memory.
    when i start the go_to method line 358 i have little memory remaining.
    however commenting out line 358 and removing comments 572-577 it works.

  • is not freeing the memory

    I guess all this runs inside line 361 E.showMenu(menu);
    It gets freed once it gets out of there (and all other references are gone too including code in the setTimeout).
    Anyway, the setTimeout on line 358 won't break you out of line 361(?)
    EDIT: oh I did not know E.showMenu(); without argument exits the menu, but still you can't have memory freed inside setTimeout as it still references all variables in parent scopes

About

Avatar for wagnerf42 @wagnerf42 started