diff --git a/Sources/AutomergeRepo/Networking/Providers/PeerToPeerProvider.swift b/Sources/AutomergeRepo/Networking/Providers/PeerToPeerProvider.swift index d742cc3..8479b9a 100644 --- a/Sources/AutomergeRepo/Networking/Providers/PeerToPeerProvider.swift +++ b/Sources/AutomergeRepo/Networking/Providers/PeerToPeerProvider.swift @@ -289,6 +289,7 @@ public actor PeerToPeerProvider: NetworkProvider { await disconnect() listener?.cancel() listener = nil + availablePeerPublisher.send([]) browserStatePublisher.send(.setup) listenerStatePublisher.send(.setup) }