diff --git a/GDTask.Nuget.Test b/GDTask.Nuget.Test
index 3c24b8e..088c42b 160000
--- a/GDTask.Nuget.Test
+++ b/GDTask.Nuget.Test
@@ -1 +1 @@
-Subproject commit 3c24b8eb3e59102f22bbb5538e4d72196374b0bb
+Subproject commit 088c42b812c23528026b890d3f4e8da919e65eab
diff --git a/GDTask/GDTask.csproj b/GDTask/GDTask.csproj
index 2265030..82a6ac5 100644
--- a/GDTask/GDTask.csproj
+++ b/GDTask/GDTask.csproj
@@ -14,7 +14,7 @@
GDTask
GDTask
- 1.2.0
+ 1.2.1
DE-YU, Atlinx, Yoshifumi Kawai / Cysharp
Provides an efficient async/await integration to Godot 4.1+
https://www.nuget.org/packages/GDTask
@@ -23,7 +23,7 @@
https://github.com/Delsin-Yu/GDTask.Nuget
git
Godot GDTask GodotTask Task Async
- Fix an issue that accidentally exposes the `GDTask.Internal` namespace, which causes inconveniences when referencing the `GDTask` type.
+ The `PlayerLoopTiming` enum now has `IsolatedProcess` and `IsolatedPhysicsProcess` for running async APIs when the scene tree has paused.
LICENSE.md
true
diff --git a/GDTask/src/AsyncUnit.cs b/GDTask/src/AsyncUnit.cs
index d604245..140b249 100644
--- a/GDTask/src/AsyncUnit.cs
+++ b/GDTask/src/AsyncUnit.cs
@@ -14,7 +14,7 @@ namespace GodotTask
public override string ToString() => "()";
- public override bool Equals(object? obj) => obj is AsyncUnit;
+ public override bool Equals(object obj) => obj is AsyncUnit;
public static bool operator ==(AsyncUnit left, AsyncUnit right) => true;
diff --git a/GDTask/src/CompilerServices/IsolatedGDTaskPlayerLoopRunner.cs b/GDTask/src/CompilerServices/IsolatedGDTaskPlayerLoopRunner.cs
index 52efa48..d47db55 100644
--- a/GDTask/src/CompilerServices/IsolatedGDTaskPlayerLoopRunner.cs
+++ b/GDTask/src/CompilerServices/IsolatedGDTaskPlayerLoopRunner.cs
@@ -2,7 +2,7 @@
namespace GodotTask.CompilerServices;
-internal class IsolatedGDTaskPlayerLoopRunner : Node
+internal partial class IsolatedGDTaskPlayerLoopRunner : Node
{
private readonly GDTaskPlayerLoopRunner _playerLoopRunner;
diff --git a/GDTask/src/Internal/TaskTracker.Models.cs b/GDTask/src/Internal/TaskTracker.Models.cs
index fc36a21..4090f0e 100644
--- a/GDTask/src/Internal/TaskTracker.Models.cs
+++ b/GDTask/src/Internal/TaskTracker.Models.cs
@@ -32,7 +32,7 @@ public bool Value
}
}
- private IObserver? _singleSubscriber;
+ private IObserver _singleSubscriber;
private bool _value;
diff --git a/GDTask/src/Internal/TaskTrackerWindow.cs b/GDTask/src/Internal/TaskTrackerWindow.cs
index e92cd27..083d672 100644
--- a/GDTask/src/Internal/TaskTrackerWindow.cs
+++ b/GDTask/src/Internal/TaskTrackerWindow.cs
@@ -8,11 +8,11 @@ namespace GodotTask;
internal partial class TaskTrackerWindow : Window
{
- private static TaskTrackerWindow? _instance;
- private static StringBuilder? _stringBuilder;
+ private static TaskTrackerWindow _instance;
+ private static StringBuilder _stringBuilder;
#if !NET7_0_OR_GREATER
- private static Regex _removeHrefLabel = new("(.+)", RegexOptions.Compiled);
+ private static readonly Regex _removeHrefLabel = new("(.+)", RegexOptions.Compiled);
#endif
#if NET7_0_OR_GREATER
@@ -58,7 +58,7 @@ internal static void TryAddItem(TaskTracker.TrackingData trackingData)
var trackingDataMap = _instance._trackingDataMap;
var treeItemMap = _instance._treeItemMap;
var tree = _instance._tree;
- TreeItem? treeItem;
+ TreeItem treeItem;
if (!trackingDataMap.TryGetValue(trackingData, out treeItem))
{
treeItem = tree.CreateItem(_instance._rootTreeItem, trackingData.TrackingId);
diff --git a/GDTask/src/Internal/TypePrinter.cs b/GDTask/src/Internal/TypePrinter.cs
index 5867ea3..39f6bbe 100644
--- a/GDTask/src/Internal/TypePrinter.cs
+++ b/GDTask/src/Internal/TypePrinter.cs
@@ -1,4 +1,5 @@
-using System;
+#nullable enable
+using System;
using System.Collections.Generic;
using System.Text;