mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
Source cleanup, and some string copies
This commit is contained in:
parent
387ada9c9c
commit
7654dcdf8d
10 changed files with 47 additions and 89 deletions
|
@ -99,7 +99,9 @@ func UnsubscribeSingleChat(client *ClientInfo, channelName string) {
|
|||
ChatSubscriptionLock.RUnlock()
|
||||
}
|
||||
|
||||
// Unsubscribe the client from all channels, AND clear the CurrentChannels / WatchingChannels fields.
|
||||
// UnsubscribeAll will unsubscribe the client from all channels,
|
||||
// AND clear the CurrentChannels / WatchingChannels fields.
|
||||
//
|
||||
// Locks:
|
||||
// - read lock to top-level maps
|
||||
// - write lock to SubscriptionInfos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue