🌐 AI搜索 & 代理 主页
Skip to content

a memory problem about deferred in 3.x #3606

@houfeng0923

Description

@houfeng0923

Description

When our project upgraded to jQuery3.2.1 (from 2.2.4), we found a memory leak about Deferred in jQuery3.x . the promise.then method does not release the handler & handler Closure .
it work well in jQuery2.x and native Promise in chrome .

look at the following case:

Link to test case

http://plnkr.co/edit/DpMkLV2mqzwlX4Ruuk7i

image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions