Пример #1
0
        public void Cancel()
        {
            if (!m_Commands.Valid)
            {
                return;
            }

            foreach (IntPtr command in m_Commands)
            {
                DSPCommand.Cancel((void *)command);
                m_Graph.ReleaseCommand((void *)command);
            }

            m_Commands.Dispose();
            m_Commands = default;
            m_Graph.DisposeHandle(m_Handle);
        }