         self.browsing = false
         for peer in self.peers {
             peer.dnsService?.endResolve()
-            peer.dnsService = nil
+//            peer.dnsService = nil
             peer.announced = false
         }
     }

            }
        }

        guard let peer = self.peers.filter({ $0.dnsService == service }).first else {
            DLog("BluepeerObject: serviceDidResolve FAILED, should have found a peer")
            assert(false)
            return

                }
                self.bailOn(socket: existingPeer.socket, peer: existingPeer)
                peer.dnsService?.endResolve()
                peer.dnsService = nil // there's not really supposed to be a dnsService present here, this is paranoia
                peer.announced = false
                peer.keepaliveTimer?.invalidate()
                peer.keepaliveTimer = nil
