Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ public class LiveSessionCoordinator<R: RootRegistry>: ObservableObject {
try await socket.shutdown()
}

if let liveReloadChannel {
try? await liveReloadChannel.shutdownParentSocket()
}

let adapter = ReconnectStrategyAdapter(self.configuration.reconnectBehavior)

self.liveSocket = try await LiveSocket(
Expand Down Expand Up @@ -287,7 +291,7 @@ public class LiveSessionCoordinator<R: RootRegistry>: ObservableObject {
func overrideLiveReloadChannel(channel: LiveChannel) async throws {

if let liveReloadChannel {
try await liveReloadChannel.shutdownParentSocket()
try? await liveReloadChannel.shutdownParentSocket()
self.liveReloadChannel = nil
}

Expand Down
Loading