Exemple #1
0
        private static void DisposeClient()
        {
            minuteTimer?.Dispose();
            minuteTimer = null;

            contracts?.Dispose();
            contracts = null;

            fileUpload?.Dispose();
            fileUpload = null;

            xmpp?.Dispose();
            xmpp = null;
        }
        private static void DisposeClient()
        {
            minuteTimer?.Dispose();
            minuteTimer = null;

            contracts?.Dispose();
            contracts = null;

            fileUpload?.Dispose();
            fileUpload = null;

#if DEBUG
            if (!(xmppEventSink is null))
            {
                Log.Unregister(xmppEventSink);

                xmppEventSink.Dispose();
                xmppEventSink = null;
            }
#endif
            xmpp?.Dispose();
            xmpp = null;
        }