Permalink
Browse files

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

Fixes #11125
Closes gh-1448
(cherry picked from commit ec1f393)
  • Loading branch information...
tjvantoll authored and scottgonzalez committed Feb 18, 2015
1 parent b371063 commit 04ab6e0388f248b2490c2bc663528657ba39051a
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/dialog.js
View
@@ -150,6 +150,7 @@ return $.widget( "ui.dialog", {
var next,
originalPosition = this.originalPosition;
this._untrackInstance();
this._destroyOverlay();
this.element

0 comments on commit 04ab6e0

Please sign in to comment.