a few changes to local console; add pooling of Console.KeyAvailable instead of waiting on keyread, that has treading issues. Thanks ALicia for some ideas on this

This commit is contained in:
UbitUmarov
2022-09-18 05:21:07 +01:00
parent 0505fd54e4
commit 87ba2d7b43
5 changed files with 87 additions and 93 deletions

View File

@@ -746,9 +746,7 @@ namespace OpenSim.Framework.Console
protected void FireOnOutput(string text)
{
OnOutputDelegate onOutput = OnOutput;
if (onOutput != null)
onOutput(text);
OnOutput?.Invoke(text);
}
/// <summary>