Ticket #2509 defect closed fixed
removing event triggers while in an event trigger callback does bad things
|Reported by:||jack||Owned by:|
|Cc:||twonds, therve, yaubi||Branch:|
See the attached test case. Several callWhenRunning triggers are set up, but not all of them are called.
Note that removing an event trigger from the callback was done to work around a bug in trial where reactor events don't happen as one would expect. See #2498.
I'm not sure what the fix would be but the attached preliminary patch seems to be right thing.