Skip to content

Conversation

pjordaan
Copy link

@pjordaan pjordaan commented Dec 4, 2014

[EventDispatcher] Fixed adding listener when event is currently being dispatched

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #12845
License MIT

…spatched will not result into a fatal error in TraceableEventDispatcher [EventDispatcher]
@pjordaan pjordaan changed the title Fixed #12845 adding a listener to an event that is currently being dispa... Fixed #12845 adding a listener to an event that is currently being dispatched Dec 4, 2014
@pjordaan pjordaan changed the title Fixed #12845 adding a listener to an event that is currently being dispatched [EventDispatcher] Fixed #12845 adding a listener to an event that is currently being dispatched Dec 5, 2014
@fabpot
Copy link
Member

fabpot commented Dec 12, 2014

Thank you @pjordaan.

@fabpot fabpot merged commit 0cbc2b0 into symfony:2.5 Dec 12, 2014
fabpot added a commit that referenced this pull request Dec 12, 2014
…nt that is currently being dispatched (Pieter Jordaan)

This PR was merged into the 2.5 branch.

Discussion
----------

[EventDispatcher] Fixed #12845 adding a listener to an event that is currently being dispatched

[EventDispatcher] Fixed adding listener when event is currently being dispatched

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12845
| License       | MIT

Commits
-------

0cbc2b0 Fixed #12845 adding a listener to an event that is currently being dispatched will not result into a fatal error in TraceableEventDispatcher [EventDispatcher]
@shustrik
Copy link

What about 2.6 branch? This branch have the same problems

@xabbuh
Copy link
Member

xabbuh commented Dec 12, 2014

@shustrik Older branches are regularly merged into newer branches which means that 2.6 gets this fix too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants