public Task Destroy(TestContext ctx, CancellationToken cancellationToken) { return(Task.Run(() => { if (chain != null) { chain.Dispose(); chain = null; } })); }
protected override void PostRun(TestContext ctx) { if (verifyParam != null) { verifyParam.Dispose(); verifyParam = null; } if (storeCtx != null) { storeCtx.Dispose(); storeCtx = null; } if (chain != null) { chain.Dispose(); chain = null; } if (store != null) { store.Dispose(); store = null; } base.PostRun(ctx); }