Add catch block to try/finally in deferred. Fixes #9033. Test case needed.
This commit is contained in:
parent
d66c3b6d84
commit
0a80be67f4
|
@ -58,8 +58,9 @@ jQuery.extend({
|
||||||
while( callbacks[ 0 ] ) {
|
while( callbacks[ 0 ] ) {
|
||||||
callbacks.shift().apply( context, args );
|
callbacks.shift().apply( context, args );
|
||||||
}
|
}
|
||||||
}
|
} catch( e ) {
|
||||||
finally {
|
throw e;
|
||||||
|
} finally {
|
||||||
fired = [ context, args ];
|
fired = [ context, args ];
|
||||||
firing = 0;
|
firing = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue