protected internal override void OnStop() { if (consensus != null) { consensus.Dispose(); } if (rpc != null) { rpc.Dispose(); } LocalNode.Dispose(); Blockchain.Default.Dispose(); }