diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-06-06 20:13:50 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-06-07 20:55:17 -0400 |
commit | 0a80be67f4fe968d99777564a02aeddbde1fbf35 (patch) | |
tree | 792f83f12735032b1c9130821f19d2360ee2aa10 | |
parent | d66c3b6d84c2af1132727c5be335bc2860dcbda9 (diff) | |
download | jquery-0a80be67f4fe968d99777564a02aeddbde1fbf35.tar.gz jquery-0a80be67f4fe968d99777564a02aeddbde1fbf35.zip |
Add catch block to try/finally in deferred. Fixes #9033. Test case needed.
-rw-r--r-- | src/deferred.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/deferred.js b/src/deferred.js index 5cc5fb5be..3d53344e3 100644 --- a/src/deferred.js +++ b/src/deferred.js @@ -58,8 +58,9 @@ jQuery.extend({ while( callbacks[ 0 ] ) { callbacks.shift().apply( context, args ); } - } - finally { + } catch( e ) { + throw e; + } finally { fired = [ context, args ]; firing = 0; } |