Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2014
Merged

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.