void OnDisable()
        {
            // Make sure all task are stopped before quitting
            if (m_ReflectPipeline != null)
            {
                m_ReflectPipeline.ShutdownPipeline();
            }

            m_ProjectsLister?.Dispose();
            m_ReflectClient?.Dispose();

            update = null;
        }
예제 #2
0
        public void CloseProject()
        {
            if (m_ReflectPipeline == null)
            {
                return;
            }

            m_ReflectPipeline.ShutdownPipeline();

            if (m_Client != null)
            {
                m_Client.manifestUpdated -= OnManifestUpdated;
                m_Client.Dispose();
            }

            m_SelectedProject = null;
        }