Skip to content

Conversation

jblache
Copy link
Contributor

@jblache jblache commented Sep 21, 2017

Changes for SR-5759 introduced a bug where disarmed events got dropped when
a muxnote is reused, due to erroneously setting dmn->dmn_events to the
combination of new events and currently armed events.

Combining existing events with the combination of new events and armed events
implements the intended behavior.

Changes for SR-5759 introduced a bug where disarmed events got dropped when
a muxnote is reused, due to erroneously setting dmn->dmn_events to the
combination of new events and currently armed events.

Combining existing events with the combination of new events and armed events
implements the intended behavior.
@jblache jblache requested a review from MadCoder September 21, 2017 01:59
dmn = NULL;
} else {
dmn->dmn_events = events;
dmn->dmn_events |= events;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you gotta love 1-character fixes

@MadCoder
Copy link
Contributor

@swift-ci please test

@MadCoder
Copy link
Contributor

Seems the buildbot is broken, however the fix is obviously correct, so let's merge.

@MadCoder MadCoder merged commit 295f676 into master Sep 21, 2017
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
Properly pick up new events when reusing a muxnote

Signed-off-by: Daniel A. Steffen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants