Try to fix some background render thread problems
This commit is contained in:
@@ -193,10 +193,9 @@
|
||||
Task thread = new Task(async () => {
|
||||
aiModule.TrainAI();
|
||||
trainButtonText = "AI Trained";
|
||||
StateHasChanged();
|
||||
await Task.Delay(2000);
|
||||
trainButtonText = "Train AI";
|
||||
StateHasChanged();
|
||||
await Task.Delay(1);
|
||||
Debounce = true;
|
||||
});
|
||||
thread.Start();
|
||||
|
||||
Reference in New Issue
Block a user