Esempio n. 1
0
        public void Stop()
        {
            _backplane.Stop();

            _backplane.MessageReceived -= MessageReceivedHandler;
            _backplane.ClusterMember   -= ClusterMemberHandler;
            _backplane.ZoneMember      -= ZoneMemberHandler;

            _subscriptions.Dispose();
        }
Esempio n. 2
0
        public void Stop()
        {
            _backplane.Stop();

            _backplane.MessageReceived -= MessageReceivedHandler;
            _backplane.ClusterMember   -= ClusterMemberHandler;
            _backplane.ZoneMember      -= ZoneMemberHandler;

            _subscriptions.Dispose();
            _subscriptions = null;
            _messageBus.ThreadPool.StopDedicatedWorker(_workerThreadId);
        }