Skip to content

Commit 33acb9c

Browse files
Merge pull request #330 from Yoshi2889/fix/subscribed_flag
Mark stale channel object as unsubscribed
2 parents 341ea3d + 4a47cea commit 33acb9c

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)