diff Implab/FuncTaskT.cs @ 199:43b1017ce100 v2

Слияние с default
author cin
date Fri, 14 Oct 2016 03:33:17 +0300
parents 40d7fed4a09e
children
line wrap: on
line diff
--- a/Implab/FuncTaskT.cs	Wed May 04 12:28:08 2016 +0300
+++ b/Implab/FuncTaskT.cs	Fri Oct 14 03:33:17 2016 +0300
@@ -12,10 +12,8 @@
             if (m_task != null && LockCancelation()) {
                 try {
                     SetResult(m_task(value));
-                } catch(OperationCanceledException reason)  {
-                    HandleCancelInternal(reason);
                 } catch(Exception err) {
-                    HandleErrorInternal(err);
+                    SetErrorInternal(err);
                 }
             }
         }