aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Events
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-06-14 06:44:55 -0600
committercrobibero <cody@robibe.ro>2021-06-14 06:44:55 -0600
commite021a0e9ce267e965168a51219a6081b60842a39 (patch)
tree74a76addaca80dda5f89f5426b76b23666f6dade /Jellyfin.Server.Implementations/Events
parentaaa9cc604f5cd3a2869259a9b0c404d0330195fd (diff)
Update to dotnet 5.0.7
Diffstat (limited to 'Jellyfin.Server.Implementations/Events')
-rw-r--r--Jellyfin.Server.Implementations/Events/EventManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Events/EventManager.cs b/Jellyfin.Server.Implementations/Events/EventManager.cs
index c5e66112d1..8c5d8f2ce6 100644
--- a/Jellyfin.Server.Implementations/Events/EventManager.cs
+++ b/Jellyfin.Server.Implementations/Events/EventManager.cs
@@ -30,7 +30,7 @@ namespace Jellyfin.Server.Implementations.Events
public void Publish<T>(T eventArgs)
where T : EventArgs
{
- Task.WaitAll(PublishInternal(eventArgs));
+ PublishInternal(eventArgs).GetAwaiter().GetResult();
}
/// <inheritdoc />