Try to fix some background render thread problems
This commit is contained in:
1 parent
65b63b719b
commit
9c8d57cfce
1 file changed
+1
-2
@@ -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