mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1015331 - Do not leak Task object created during fling handoff. r=kats
This commit is contained in:
parent
44cdf804f9
commit
2fdad6c7af
@ -1728,6 +1728,7 @@ bool AsyncPanZoomController::SampleContentTransformForFrame(const TimeStamp& aSa
|
||||
|
||||
for (uint32_t i = 0; i < deferredTasks.length(); ++i) {
|
||||
deferredTasks[i]->Run();
|
||||
delete deferredTasks[i];
|
||||
}
|
||||
|
||||
// Cancel the mAsyncScrollTimeoutTask because we will fire a
|
||||
|
Loading…
Reference in New Issue
Block a user