Mercurial > pub > ImplabNet
diff Implab/Diagnostics/TraceContext.cs @ 76:c761fc982e1d v2
Refactoring of the IPromise<T> interface
Added tests
author | cin |
---|---|
date | Wed, 10 Sep 2014 17:53:05 +0400 |
parents | 790e8a997d30 |
children | 4c0e5ef99986 |
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceContext.cs Wed Sep 10 11:17:37 2014 +0400 +++ b/Implab/Diagnostics/TraceContext.cs Wed Sep 10 17:53:05 2014 +0400 @@ -215,7 +215,7 @@ Safe.ArgumentNotNull(promise, "promise"); var ctx = DetachLogicalOperation(); - promise.Finally(() => { + promise.Anyway(() => { var old = _current; TraceContext.Attach(ctx); TraceContext.Current.EndLogicalOperation();