breakpoint
This commit is contained in:
@@ -10,7 +10,7 @@ using BITKit.IO;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace BITKit;
|
||||
namespace BITKit.UX;
|
||||
|
||||
public partial class PlaybackService : UXPanel
|
||||
{
|
||||
@@ -29,13 +29,14 @@ public partial class PlaybackService : UXPanel
|
||||
public override void _Ready()
|
||||
{
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
OnExit();
|
||||
//OnExit();
|
||||
}
|
||||
public override void _ExitTree()
|
||||
{
|
||||
cancellationTokenSource.Cancel();
|
||||
}
|
||||
public override void OnEntry()
|
||||
private void NoEntry()
|
||||
//public override void OnEntry()
|
||||
{
|
||||
cancellationTokenSource.Token.ThrowIfCancellationRequested();
|
||||
|
||||
@@ -61,7 +62,7 @@ public partial class PlaybackService : UXPanel
|
||||
Stopwatch stopwatch = new();
|
||||
stopwatch.Start();
|
||||
|
||||
OnExit();
|
||||
//OnExit();
|
||||
label.Text = $"正在加载:{playableInfo.Name},创建时间:{playableInfo.CreateTime}";
|
||||
label.Show();
|
||||
|
||||
@@ -92,8 +93,8 @@ public partial class PlaybackService : UXPanel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnExit()
|
||||
private void NoExit()
|
||||
//public override void OnExit()
|
||||
{
|
||||
foreach (var x in root.GetChildren())
|
||||
{
|
||||
|
Reference in New Issue
Block a user