[Modify] Replace it
This commit is contained in:
parent
4373798c8c
commit
bed9d4e60e
@ -879,8 +879,12 @@ namespace WebSocketSharp.Net
|
||||
|
||||
var ares = beginGetContext (null, null);
|
||||
ares.InGet = true;
|
||||
ares.EndCalled = true;
|
||||
|
||||
return EndGetContext (ares);
|
||||
if (!ares.IsCompleted)
|
||||
ares.AsyncWaitHandle.WaitOne ();
|
||||
|
||||
return ares.Context;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user