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