Browse Source

Fixed null audio lock

tags/1.0-rc
RogueException 8 years ago
parent
commit
b33a7205c1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs

+ 1
- 0
src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs View File

@@ -78,6 +78,7 @@ namespace Discord.WebSocket
internal SocketGuild(DiscordSocketClient client, ulong id)
: base(client, id)
{
_audioLock = new SemaphoreSlim(1, 1);
_emojis = ImmutableArray.Create<Emoji>();
_features = ImmutableArray.Create<string>();
}


Loading…
Cancel
Save