Skip to content

Commit 4a47cea

Browse files
committed
Mark stale channel object as unsubscribed
1 parent 341ea3d commit 4a47cea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Services/PusherConnection.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ import NWWebSocket
178178
)
179179

180180
self.channels.remove(name: channelName)
181+
chan.subscribed = false
181182
}
182183

183184
/**

0 commit comments

Comments
 (0)