Patch
Commit `f4c51567` — Only write if the socket is connected (Jonas Follesø, 2025-11-11).
Files: `src/NetMQ/Core/Utils/Signaler.cs` (+1 line)
What the patch does
One-line guard in `Signaler` to only attempt a write if the underlying socket is still connected. Defends against the scenario where the Signaler's internal TCP loopback socket has been closed (e.g. iOS app resume after the kernel reclaimed sockets in the background) and a subsequent write would error or crash.
Originally added to address zeromq/netmq#1032 (issues with resuming iOS apps where the underlying socket has been closed).
Status vs upstream today
Upstream has not addressed iOS-resume socket-closure semantics in Signaler; this patch is BlueyeApp-specific hardening.
Upstreaming work
Patch
Commit `f4c51567` — Only write if the socket is connected (Jonas Follesø, 2025-11-11).
Files: `src/NetMQ/Core/Utils/Signaler.cs` (+1 line)
What the patch does
One-line guard in `Signaler` to only attempt a write if the underlying socket is still connected. Defends against the scenario where the Signaler's internal TCP loopback socket has been closed (e.g. iOS app resume after the kernel reclaimed sockets in the background) and a subsequent write would error or crash.
Originally added to address zeromq/netmq#1032 (issues with resuming iOS apps where the underlying socket has been closed).
Status vs upstream today
Upstream has not addressed iOS-resume socket-closure semantics in Signaler; this patch is BlueyeApp-specific hardening.
Upstreaming work