mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-23 07:57:46 +01:00
Make Archon happy.
This commit is contained in:
parent
363d1619bc
commit
36d90e7a87
4 changed files with 7 additions and 10 deletions
|
|
@ -5,7 +5,7 @@ using OtterGui.Classes;
|
|||
|
||||
namespace Glamourer.Events;
|
||||
|
||||
public class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
||||
public sealed class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
||||
{
|
||||
private readonly IFramework _framework;
|
||||
private readonly IClientState _state;
|
||||
|
|
@ -30,11 +30,8 @@ public class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
|||
_framework.Update += OnFramework;
|
||||
}
|
||||
|
||||
public new void Dispose()
|
||||
{
|
||||
_framework.Update -= OnFramework;
|
||||
base.Dispose();
|
||||
}
|
||||
protected override void Dispose(bool _)
|
||||
=> _framework.Update -= OnFramework;
|
||||
|
||||
public void AddActionOnLeave(Action onLeave)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue