mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125
Closes gh-1448
(cherry picked from commit ec1f393c39
)
This commit is contained in:
parent
b3710631e8
commit
04ab6e0388
@ -150,6 +150,7 @@ return $.widget( "ui.dialog", {
|
||||
var next,
|
||||
originalPosition = this.originalPosition;
|
||||
|
||||
this._untrackInstance();
|
||||
this._destroyOverlay();
|
||||
|
||||
this.element
|
||||
|
Loading…
Reference in New Issue
Block a user