mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3359] [CLOSED] UDP Fix #9477
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/3359
Author: @BaronGreenback
Created: 6/17/2020
Status: ❌ Closed
Base:
master← Head:udpfix📝 Commits (2)
b2e1d70Merge pull request #24 from jellyfin/master3f797c7udp / udpSocket.cs📊 Changes
3 files changed (+5 additions, -20 deletions)
View changed files
📝
Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs(+1 -1)📝
Emby.Server.Implementations/Net/UdpSocket.cs(+1 -1)📝
Emby.Server.Implementations/Udp/UdpServer.cs(+3 -18)📄 Description
App was causing a crash everytime it was shut down in development. This was due to objects being manually disposed in the Dispose function of the class that created them, whilst there was still an async function in operation. (resulting in a Null pointer, caught in an exception loop).
udp /udpsocket.cs
Was only used to dispose _udpsocket, which caused a crash in BeginReceiveAsync as it's was still running.
net / udpsocket.cs
entrypoints / udpserverentrypoints.cs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.