aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Session/ISessionManager.cs
diff options
context:
space:
mode:
authorJPVenson <JPVenson@users.noreply.github.com>2024-01-14 16:50:09 +0100
committerGitHub <noreply@github.com>2024-01-14 16:50:09 +0100
commit3ce16713dd013b5aabdedebafd025f2224d2475f (patch)
treec3b649dc06f4e898ea4984dee44a2d96c420e106 /MediaBrowser.Controller/Session/ISessionManager.cs
parentd40224128c031e38054090e063247b9a06e46f6d (diff)
Fixed disposable not being called (#10613)
* Fixed disposable not being called * PulledUp usage of IAsyncDisposable for sessioninfo Co-authored-by: Patrick Barron <barronpm@gmail.com>
Diffstat (limited to 'MediaBrowser.Controller/Session/ISessionManager.cs')
-rw-r--r--MediaBrowser.Controller/Session/ISessionManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.cs
index 53df7133b..5a47236f9 100644
--- a/MediaBrowser.Controller/Session/ISessionManager.cs
+++ b/MediaBrowser.Controller/Session/ISessionManager.cs
@@ -111,7 +111,8 @@ namespace MediaBrowser.Controller.Session
/// Reports the session ended.
/// </summary>
/// <param name="sessionId">The session identifier.</param>
- void ReportSessionEnded(string sessionId);
+ /// <returns>Task.</returns>
+ ValueTask ReportSessionEnded(string sessionId);
/// <summary>
/// Sends the general command.