예제 #1
0
 public override void Dispose()
 {
     base.Dispose();
     System.EnsureStoped(Store);
     if (Verifier != null)
     {
         System.EnsureStoped(Verifier);
     }
 }
예제 #2
0
 public override void Dispose()
 {
     base.Dispose();
     Blockchain.Committing -= OnCommitting;
     Blockchain.Committed  -= OnCommitted;
     if (Store is not null)
     {
         System.EnsureStoped(Store);
     }
     if (Verifier is not null)
     {
         System.EnsureStoped(Verifier);
     }
 }