Skip to main content

Bug Tracker

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: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.3
Keywords: Cc:
Blocked by: Blocking:

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 jaubourg comment:1

resolution: → duplicate
status: newclosed

Duplicate of #14201 .