Skip to content

Commit

Permalink
New version ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Delsin-Yu committed Mar 28, 2024
1 parent ad3d855 commit 355d74d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion GDTask.Nuget.Test
4 changes: 2 additions & 2 deletions GDTask/GDTask.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<Title>GDTask</Title>
<PackageId>GDTask</PackageId>
<PackageVersion>1.2.0</PackageVersion>
<PackageVersion>1.2.1</PackageVersion>
<Authors>DE-YU, Atlinx, Yoshifumi Kawai / Cysharp</Authors>
<Description>Provides an efficient async/await integration to Godot 4.1+</Description>
<PackageProjectUrl>https://www.nuget.org/packages/GDTask</PackageProjectUrl>
Expand All @@ -23,7 +23,7 @@
<RepositoryUrl>https://github.com/Delsin-Yu/GDTask.Nuget</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Godot GDTask GodotTask Task Async</PackageTags>
<PackageReleaseNotes>Fix an issue that accidentally exposes the `GDTask.Internal` namespace, which causes inconveniences when referencing the `GDTask` type.</PackageReleaseNotes>
<PackageReleaseNotes>The `PlayerLoopTiming` enum now has `IsolatedProcess` and `IsolatedPhysicsProcess` for running async APIs when the scene tree has paused.</PackageReleaseNotes>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>

<IncludeSymbols>true</IncludeSymbols>
Expand Down
2 changes: 1 addition & 1 deletion GDTask/src/AsyncUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace GodotTask.CompilerServices;

internal class IsolatedGDTaskPlayerLoopRunner : Node
internal partial class IsolatedGDTaskPlayerLoopRunner : Node
{
private readonly GDTaskPlayerLoopRunner _playerLoopRunner;

Expand Down
2 changes: 1 addition & 1 deletion GDTask/src/Internal/TaskTracker.Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public bool Value
}
}

private IObserver<bool>? _singleSubscriber;
private IObserver<bool> _singleSubscriber;

private bool _value;

Expand Down
8 changes: 4 additions & 4 deletions GDTask/src/Internal/TaskTrackerWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("<a href.+>(.+)</a>", RegexOptions.Compiled);
private static readonly Regex _removeHrefLabel = new("<a href.+>(.+)</a>", RegexOptions.Compiled);
#endif

#if NET7_0_OR_GREATER
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion GDTask/src/Internal/TypePrinter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable enable
using System;
using System.Collections.Generic;
using System.Text;

Expand Down

0 comments on commit 355d74d

Please sign in to comment.