Side navigation
#14218 closed bug (duplicate)
Opened August 05, 2013 05:52PM UTC
Closed August 05, 2013 06:13PM UTC
jQuery.Callbacks breaks future promises if a callback function throws
Reported by: | beneidel@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
if a callback throws an error, the subsequent callbacks won't get called because a flag named "firing" stays true forever.
This seems to be fixed easily using a try/finally block.
jsfiddle demostrating this (using $(fn) shortcut for $(document).ready())
Attachments (0)
Change History (1)
Changed August 05, 2013 06:13PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #14201 .