I'm working on an Electron application that bundles node-audio for hosting VST/AudioUnit plugins. During development, libc++abi.dylib was throwing a mysterious error on app exit. The solution was to bind these clean-up methods, to be able to exit the application "cleanly" by shutting down any plugin instance, disconnecting all nodes, and cleaning up the audio context.
I'm working on an Electron application that bundles
node-audio
for hosting VST/AudioUnit plugins. During development,libc++abi.dylib
was throwing a mysterious error on app exit. The solution was to bind these clean-up methods, to be able to exit the application "cleanly" by shutting down any plugin instance, disconnecting all nodes, and cleaning up the audio context.