diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2021-06-18 11:29:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-18 11:29:55 -0400 |
| commit | c791c3a215b33bd4ca534c9f383c9fd7d23b59af (patch) | |
| tree | dffb40899622556b618620791c74d91c6d7f470a /Jellyfin.Server.Implementations/Events/EventManager.cs | |
| parent | 004c53a5a56bfdd01c1d77b5f433ec0c74ffc90d (diff) | |
| parent | e021a0e9ce267e965168a51219a6081b60842a39 (diff) | |
Merge pull request #6191 from crobibero/5.0.7
Update to dotnet 5.0.7
Diffstat (limited to 'Jellyfin.Server.Implementations/Events/EventManager.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Events/EventManager.cs | 2 |
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 /> |
