mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 10:46:27 +00:00
Moved temporary files into a folder of their own below the data directory (#1245)
This commit is contained in:
1 parent
ddfc632b63
commit
12d3e1ec6c
52 files changed
+1219
-396
No files matched your search
@@ -27,8 +27,11 @@ public partial class ElapsedTime : MSGComponentBase
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
// Taken before the first await: Blazor may dispose the component meanwhile, see "Loops of a component" in app/AGENTS.md:
|
||||
var tickToken = this.tickCancellation.Token;
|
||||
await base.OnInitializedAsync();
|
||||
this.TickAsync(this.tickCancellation.Token).Observe($"{nameof(ElapsedTime)}: counting the elapsed time");
|
||||
if (!tickToken.IsCancellationRequested)
|
||||
this.TickAsync(tickToken).Observe($"{nameof(ElapsedTime)}: counting the elapsed time");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in new issue
Block a user