Skip to content
Permalink
Browse files
Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125
Closes gh-1448
  • Loading branch information
tjvantoll committed Feb 20, 2015
1 parent d58051b commit ec1f393c39aa5bbac1158acf692271f8ce9518ce
Showing 1 changed file with 1 addition and 0 deletions.
@@ -155,6 +155,7 @@ return $.widget( "ui.dialog", {
var next,
originalPosition = this.originalPosition;

this._untrackInstance();
this._destroyOverlay();

this.element

0 comments on commit ec1f393

Please sign in to comment.