You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2017/12/08 20:35:00 UTC
[jira] [Assigned] (PIVOT-792) memory leak : window is still
referenced after window.close() when using acitvity indicator or other
timer-related callback components
[ https://issues.apache.org/jira/browse/PIVOT-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Whitcomb reassigned PIVOT-792:
------------------------------------
Assignee: Roger Whitcomb
> memory leak : window is still referenced after window.close() when using acitvity indicator or other timer-related callback components
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PIVOT-792
> URL: https://issues.apache.org/jira/browse/PIVOT-792
> Project: Pivot
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: current pivot trunk
> Reporter: Andrei Pozolotin
> Assignee: Roger Whitcomb
> Priority: Minor
> Fix For: 2.5
>
>
> memory leak : window is still referenced after window.close() when using acitvity indicator or other timer-related callback components
> here is bug project
> https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000
> with 2 cases
> "NO LEAK"
> https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000/src/main/java/com/carrotgarden/bug/case_1_no_leak
> "LEAK"
> https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000/src/main/java/com/carrotgarden/bug/case_2_leak
> basically, if window uses activity indicator it is placed in timer queue and never removed on window.close();
> workaround: you must stop activity indicator manually via "on close" event listener;
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)