From: Kouhei Sutou Date: Sun, 7 Aug 2011 06:50:34 +0000 (+0900) Subject: Autocomplete: ensure clear searching timeout on destroy. X-Git-Tag: 1.9m6~46^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F425%2Fhead;p=jquery-ui.git Autocomplete: ensure clear searching timeout on destroy. --- diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 09c3707f0..3e0163682 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -263,6 +263,7 @@ $.widget( "ui.autocomplete", { }, _destroy: function() { + clearTimeout( this.searching ); this.element .removeClass( "ui-autocomplete-input" ) .removeAttr( "autocomplete" )