Example #1
0
        public void ClearHiveClient()
        {
            Jobs.ClearWithoutHiveDeletion();
            foreach (var j in Jobs)
            {
                if (j.RefreshAutomatically)
                {
                    j.RefreshAutomatically = false; // stop result polling
                }
                j.Dispose();
            }
            Jobs = null;

            if (onlinePlugins != null)
            {
                onlinePlugins.Clear();
            }
            if (alreadyUploadedPlugins != null)
            {
                alreadyUploadedPlugins.Clear();
            }
        }