Skip to content
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

classlib: fix EventPatternProxy premature cleanup of faded-in stream #4996

Conversation

eleses
Copy link
Contributor

@eleses eleses commented Jun 6, 2020

Purpose and Motivation

#Fixes #4954

I have checked that fix this works with both the present cleanup system and the one proposed in #4806.

Types of changes

  • Bug fix

To-do list

  • Code is tested
  • All tests are passing
  • This PR is ready for review

SCClassLibrary/JITLib/Patterns/Pdef.sc Outdated Show resolved Hide resolved
@eleses eleses requested a review from telephon June 8, 2020 18:14
Copy link
Contributor

@mossheim mossheim left a comment

Choose a reason for hiding this comment

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

thanks! test needs some work. our unit testing guide is here, by the way

testsuite/classlibrary/TestPatternProxy.sc Outdated Show resolved Hide resolved
testsuite/classlibrary/TestPatternProxy.sc Outdated Show resolved Hide resolved
testsuite/classlibrary/TestPatternProxy.sc Outdated Show resolved Hide resolved
testsuite/classlibrary/TestPatternProxy.sc Outdated Show resolved Hide resolved
testsuite/classlibrary/TestPatternProxy.sc Outdated Show resolved Hide resolved
@eleses eleses requested a review from mossheim June 13, 2020 00:25
Copy link
Contributor

@mossheim mossheim left a comment

Choose a reason for hiding this comment

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

looks good, can you please rebase this branch to resolve the conflicts?

@eleses eleses force-pushed the topic/EventPatternProxy-fadeTime-cleanup-fix branch from 38ddcd0 to e57b6d0 Compare June 13, 2020 09:31
@eleses eleses requested a review from mossheim June 13, 2020 10:17
Copy link
Contributor

@mossheim mossheim left a comment

Choose a reason for hiding this comment

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

thanks!

@mossheim mossheim merged commit 8d03445 into supercollider:develop Jun 13, 2020
@eleses
Copy link
Contributor Author

eleses commented Jun 15, 2020

I'll leave a note here that person who first reported this bug says (on the forum link in the initial report) that this fix didn't work for them. I have no idea why. It worked for me in literally all the instances of SC I've patched with this, i.e. backport to 3.10.4 and 3.11.0. But they are on a Mac, and I don't have one I can install SC on, alas. Since we get no classlib unit test output from CI, it would be helpful if someone (else) with SC on a Mac can manually check if this fix working on that OS.

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.

Pdef with fading dies on some streams that generate (internal) cleanup, e.g. PmonoArtic
3 participants