MCAEmotiv.Interop.EEGDataListener.DisposeOfManagedResources C# (CSharp) Method

DisposeOfManagedResources() protected method

Removes the listener from its data source, and invokes the dispose action
protected DisposeOfManagedResources ( ) : void
return void
        protected override void DisposeOfManagedResources()
        {
            if (this.source != null)
                this.source.RemoveListener(this);

            if (this.onDispose != null)
                this.invoker.BeginInvoke(this.onDispose);
        }