Dispose() public abstract method

public abstract Dispose ( ) : void
return void
Example #1
0
        public bool RemoveAndRelease(string name)
        {
            bool ret = false;

            lock (m_actors)
            {
                if (m_actors.ContainsKey(name))
                {
                    BSActor beingRemoved = m_actors[name];
                    m_actors.Remove(name);
                    beingRemoved.Dispose();
                    ret = true;
                }
            }
            return(ret);
        }