mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125 Closes gh-1448
This commit is contained in:
@@ -155,6 +155,7 @@ return $.widget( "ui.dialog", {
|
||||
var next,
|
||||
originalPosition = this.originalPosition;
|
||||
|
||||
this._untrackInstance();
|
||||
this._destroyOverlay();
|
||||
|
||||
this.element
|
||||
|
||||
Reference in New Issue
Block a user