there maybe a memory leak about deferred in 3.x
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ļ¼