mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-26 06:19:16 +01:00
rework service disposal
This commit is contained in:
parent
ef5e77017f
commit
2ca3e639b4
24 changed files with 299 additions and 265 deletions
|
|
@ -10,7 +10,6 @@ using MareSynchronos.Mediator;
|
|||
|
||||
namespace MareSynchronos.Managers;
|
||||
|
||||
|
||||
public class PlayerManager : MediatorSubscriberBase, IDisposable
|
||||
{
|
||||
private readonly ApiController _apiController;
|
||||
|
|
@ -123,8 +122,6 @@ public class PlayerManager : MediatorSubscriberBase, IDisposable
|
|||
|
||||
public override void Dispose()
|
||||
{
|
||||
Logger.Verbose("Disposing " + nameof(PlayerManager));
|
||||
|
||||
base.Dispose();
|
||||
|
||||
_playerChangedCts?.Cancel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue