remove semaphoreIndex

This commit is contained in:
wish
2024-10-14 23:27:55 +11:00
parent 89c364065f
commit 35a0c910af

View File

@@ -57,9 +57,8 @@ type ChannelServer struct {
userBinaryParts map[userBinaryPartID][]byte
// Semaphore
semaphoreLock sync.RWMutex
semaphore map[string]*Semaphore
semaphoreIndex uint32
semaphoreLock sync.RWMutex
semaphore map[string]*Semaphore
// Discord chat integration
discordBot *discordbot.DiscordBot