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 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs

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

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