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

Add release method to allow to remove virtual ports during runtime #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

halfbyte
Copy link

@halfbyte halfbyte commented Mar 8, 2022

Inspiration taken from sbates-idrc@f00909d

The issue seems to be that the native destructors are not really called when an object reference is nullified in JS land but only on process termination. Adding a release() method allows us to do this by hand during runtime.

I've also de-submodulized the rtmidi vendor thing, mainly because submodules prevent easy testing by adding it as a git dependency. We could roll that back if we would want to.

@halfbyte halfbyte requested a review from lozjackson March 8, 2022 19:50
Copy link
Collaborator

@lozjackson lozjackson left a comment

Choose a reason for hiding this comment

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

code changes look good.. I don't think we should include rtmidi in the package, can we stick with the submodule

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.

2 participants