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

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