Browse Source

Removed DiscordClient.Wait()

pull/101/head
RogueException 9 years ago
parent
commit
1fb6a03e1d
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      src/Discord.Net/DiscordClient.cs

+ 0
- 5
src/Discord.Net/DiscordClient.cs View File

@@ -1052,11 +1052,6 @@ namespace Discord
asyncAction().GetAwaiter().GetResult();
_disconnectedEvent.WaitOne();
}
/// <summary> Blocking call and wait until the client has been manually stopped. This is mainly intended for use in console applications. </summary>
public void Wait()
{
_disconnectedEvent.WaitOne();
}
#endregion

#region IDisposable


Loading…
Cancel
Save