summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-25 14:26:30 +0200
committerGitHub <noreply@github.com>2019-08-25 14:26:30 +0200
commit360d0bb6a3109bc518f13f539d39960425af67d3 (patch)
tree3dc15ce4adcd8200aa3fb069adefb1c81aa7ecca
parent14b173d0d993b2f1c486890bb68b932db6090e88 (diff)
parent1df0e88ae8905fef7a9ce73d7e6e53dfaa7a1eee (diff)
downloadredot-engine-360d0bb6a3109bc518f13f539d39960425af67d3.tar.gz
Merge pull request #31649 from exts/revert_notifyawaiter
reverted NotifyAwaiter<T> Reset() to support c#7.0
-rw-r--r--modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs b/modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs
index a3490fa89f..700b786752 100644
--- a/modules/mono/editor/GodotTools/GodotTools/Utils/NotifyAwaiter.cs
+++ b/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;
}