You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
Under certain circumstances, the CallbackBase.Release() method will throw a null reference exception because (at line 75) callback.Shadow is null and therefore the attempt to call to its Dispose() method throws.
In my case (may be others, I don't know), I was attempting to dispose of an audio effect that had not been inserted into the effect chain of the mastering voice. Example:
the shadow is created and Dispose works as expected. Maybe a simple check at line 75 to see if callback.Shadow is null before calling its Dispose method.
I realize I can work around this issue simply enough by always inserting the effect into the chain instead of doing so optionally later, but there might be other circumstances with other disposable objects for which the shadow doesn't get created.