remove unnecessary performance logging

This commit is contained in:
rootdarkarchon
2024-02-12 20:38:25 +01:00
committed by Loporrit
parent 9708607db9
commit 136257eecf

View File

@@ -591,8 +591,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
}
if (!IsInCombat)
_performanceCollector.LogPerformance(this, "FrameworkOnUpdateInternal>MediatorFrameworkUpdate",
() => Mediator.Publish(new FrameworkUpdateMessage()));
Mediator.Publish(new FrameworkUpdateMessage());
Mediator.Publish(new PriorityFrameworkUpdateMessage());
@@ -616,8 +615,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
}
if (IsInCombat)
_performanceCollector.LogPerformance(this, "FrameworkOnUpdateInternal>MediatorFrameworkUpdate",
() => Mediator.Publish(new FrameworkUpdateMessage()));
Mediator.Publish(new FrameworkUpdateMessage());
Mediator.Publish(new DelayedFrameworkUpdateMessage());