Mercurial > pub > ImplabNet
comparison Implab/ActionTaskBase.cs @ 199:43b1017ce100 v2
Слияние с default
| author | cin |
|---|---|
| date | Fri, 14 Oct 2016 03:33:17 +0300 |
| parents | 40d7fed4a09e |
| children |
comparison
equal
deleted
inserted
replaced
| 195:ea485487a424 | 199:43b1017ce100 |
|---|---|
| 40 if (m_cancel != null) { | 40 if (m_cancel != null) { |
| 41 try { | 41 try { |
| 42 m_cancel(error); | 42 m_cancel(error); |
| 43 SetResult(); | 43 SetResult(); |
| 44 } catch(Exception err) { | 44 } catch(Exception err) { |
| 45 HandleErrorInternal(err); | 45 SetErrorInternal(err); |
| 46 } | 46 } |
| 47 } else { | 47 } else { |
| 48 HandleErrorInternal(error ?? new OperationCanceledException()); | 48 SetCancelledInternal(error); |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
