Permalink
Browse files

Dialog: Stop tracking instance in destroy() to avoid memory leaks

Fixes #11125
Closes gh-1448
  • Loading branch information...
tjvantoll committed Feb 18, 2015
1 parent d58051b commit ec1f393c39aa5bbac1158acf692271f8ce9518ce
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/dialog.js
View
@@ -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.