public override void Dispose() { base.Dispose(); System.EnsureStoped(Store); if (Verifier != null) { System.EnsureStoped(Verifier); } }
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); } }