Skip to content

Commit

Permalink
Removed DiscordClient.Wait()
Browse files Browse the repository at this point in the history
  • Loading branch information
Auralytical committed Jun 18, 2016
1 parent 2b5bc17 commit 1fb6a03
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Discord.Net/DiscordClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,11 +1052,6 @@ public void ExecuteAndWait(Func<Task> asyncAction)
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
Expand Down

0 comments on commit 1fb6a03

Please sign in to comment.