Commit 351a7f6
committed
Make remove_callback more robust
If there is more than 1 callback on an event, there are issues when
interrupting the event if the callback for the event target is not first
in line.
This change makes it so that you can find the callback associated with
the target and interrupt it. Otherwise, i = nothing and deleteat! will
fail.1 parent c77022b commit 351a7f6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments