Example #1
0
        internal static object Disinitialize(bool passThru)
        {
            ApiCaller?.Dispose();
            ApiCaller      = null;
            Prefix         = null;
            IndexerSchemas = null;
            NoCache        = false;
            AllQualities   = null;
            TagManager?.Dispose();
            TagManager = null;
            SonarrUrl  = null;

            object o = null;

            if (passThru)
            {
                o = GetConnectionStatus();
            }

            return(o);
        }