diff --git a/AltServer/Connections/WirelessConnectionHandler.swift b/AltServer/Connections/WirelessConnectionHandler.swift index 9efb1d23..1db96c54 100644 --- a/AltServer/Connections/WirelessConnectionHandler.swift +++ b/AltServer/Connections/WirelessConnectionHandler.swift @@ -144,5 +144,10 @@ private extension WirelessConnectionHandler connection.disconnect() self.disconnectionHandler?(connection) + + if let networkConnection = connection as? NetworkConnection + { + networkConnection.nwConnection.stateUpdateHandler = nil + } } }