You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I just came across a memory leak and found out that the issue is in timer lib because it doesn't remove pause timer from array so it stays in memory forever.
In function timer.cancel 3 arrays get checked - _runlist, _pausedTimers and toInsert.
But in timer._remove only _runlist and toInsert are checked which means that if timer is paused, it gets canceled but it's never removed because this function doesn't check if timer is in _pausedTimers to remove it.
Can you please take a look and add fix this?
The text was updated successfully, but these errors were encountered:
Hi,
I just came across a memory leak and found out that the issue is in timer lib because it doesn't remove pause timer from array so it stays in memory forever.
In function timer.cancel 3 arrays get checked - _runlist, _pausedTimers and toInsert.
But in timer._remove only _runlist and toInsert are checked which means that if timer is paused, it gets canceled but it's never removed because this function doesn't check if timer is in _pausedTimers to remove it.
Can you please take a look and add fix this?
The text was updated successfully, but these errors were encountered: