From 1fb6a03e1dc765f1c793c5e1dca2e4a7de67786b Mon Sep 17 00:00:00 2001 From: RogueException Date: Sat, 18 Jun 2016 01:08:59 -0300 Subject: [PATCH] Removed DiscordClient.Wait() --- src/Discord.Net/DiscordClient.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Discord.Net/DiscordClient.cs b/src/Discord.Net/DiscordClient.cs index 81560d0ef6..0629f82e15 100644 --- a/src/Discord.Net/DiscordClient.cs +++ b/src/Discord.Net/DiscordClient.cs @@ -1052,11 +1052,6 @@ public void ExecuteAndWait(Func asyncAction) asyncAction().GetAwaiter().GetResult(); _disconnectedEvent.WaitOne(); } - /// Blocking call and wait until the client has been manually stopped. This is mainly intended for use in console applications. - public void Wait() - { - _disconnectedEvent.WaitOne(); - } #endregion #region IDisposable