Fix warning
This commit is contained in:
@@ -270,6 +270,20 @@ public class Pair : DisposableMediatorSubscriberBase
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
base.Dispose(disposing);
|
||||
try
|
||||
{
|
||||
_applicationCts.Cancel();
|
||||
}
|
||||
catch (ObjectDisposedException)
|
||||
{
|
||||
}
|
||||
|
||||
_applicationCts.Dispose();
|
||||
}
|
||||
|
||||
public void SetNote(string note)
|
||||
{
|
||||
_serverConfigurationManager.SetNoteForUid(UserData.UID, note);
|
||||
@@ -368,4 +382,4 @@ public class Pair : DisposableMediatorSubscriberBase
|
||||
|
||||
return data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user