Browse Source

Merge pull request #31649 from exts/revert_notifyawaiter

reverted NotifyAwaiter<T> Reset() to support c#7.0
Rémi Verschelde 6 years ago
parent
commit
360d0bb6a3

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs

@@ -51,7 +51,7 @@ namespace GodotTools.Utils
         {
         {
             continuation = null;
             continuation = null;
             exception = null;
             exception = null;
-            result = default;
+            result = default(T);
             IsCompleted = false;
             IsCompleted = false;
             return this;
             return this;
         }
         }