I'm building something which requires the creation and destruction of potentially a lot of audio nodes. As far as I am aware, in order to destroy an audio node it is necessary to:
- set all references of the node to null or something else
- call the stop method if applicable
- disconnect all connections in and out
The first two are simple enough but I'm trying to figure out if it's possible to list all the node's connections and also need to know if anything else is missing from my list. I also need to know how I can detect the existence of an unreferenced audio node