forked from lichen-community-systems/Flocking
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When refreshing MIDI ports, explicitly release existing ports
On ALSA Linux, node-midi input and output objects hold onto resources that eventually may run out causing the process to terminate. This change to Flocking makes use of a work around added to a fork of node-midi which adds a new explicit "release()" method to free the underlying RtMidi (and corresponding ALSA) resources. See: justinlatimer/node-midi#118
- Loading branch information
1 parent
8f3674c
commit 78a81eb
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters