comparison Implab/ActionChainTaskBase.cs @ 223:27ea7f07e2e4 default

Слияние
author cin
date Tue, 22 Aug 2017 09:35:54 +0300
parents b305c678923a
children
comparison
equal deleted inserted replaced
222:98eeb63cedb2 223:27ea7f07e2e4
48 try { 48 try {
49 var p = m_error(error); 49 var p = m_error(error);
50 p.On(SetResult, SetErrorInternal, SetCancelledInternal); 50 p.On(SetResult, SetErrorInternal, SetCancelledInternal);
51 CancellationRequested(p.Cancel); 51 CancellationRequested(p.Cancel);
52 } catch (Exception err) { 52 } catch (Exception err) {
53 SetErrorInternal(error); 53 SetErrorInternal(err);
54 } 54 }
55 } else { 55 } else {
56 SetErrorInternal(error); 56 SetErrorInternal(error);
57 } 57 }
58 } 58 }