Skip to content

Commit

Permalink
Merge pull request #330 from Yoshi2889/fix/subscribed_flag
Browse files Browse the repository at this point in the history
Mark stale channel object as unsubscribed
  • Loading branch information
danielrbrowne authored Jan 11, 2021
2 parents 341ea3d + 4a47cea commit 33acb9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Services/PusherConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ import NWWebSocket
)

self.channels.remove(name: channelName)
chan.subscribed = false
}

/**
Expand Down

0 comments on commit 33acb9c

Please sign in to comment.