optimize file scanner, fix unban in banui, show syncshell notes in standalone profile ui

This commit is contained in:
rootdarkarchon
2023-08-27 15:24:01 +02:00
parent d50d9cdf0f
commit a5aff6ba1a
5 changed files with 105 additions and 75 deletions

View File

@@ -77,6 +77,8 @@ public class DalamudUtilService : IHostedService
return await RunOnFrameworkThread(() => _objectTable.CreateObjectReference(reference)).ConfigureAwait(false);
}
public bool IsOnFrameworkThread => _framework.IsInFrameworkUpdateThread;
public void EnsureIsOnFramework()
{
if (!_framework.IsInFrameworkUpdateThread) throw new InvalidOperationException("Can only be run on Framework");