|
|
|
@ -37,6 +37,13 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region Contributors
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
* Contributors:
|
|
|
|
|
|
|
|
* - Nicholas Devenish
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using System.Security.Principal;
|
|
|
|
using System.Security.Principal;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading;
|
|
|
|
@ -137,7 +144,7 @@ namespace WebSocketSharp.Net
|
|
|
|
|
|
|
|
|
|
|
|
var callback = asyncResult._callback;
|
|
|
|
var callback = asyncResult._callback;
|
|
|
|
if (callback != null)
|
|
|
|
if (callback != null)
|
|
|
|
ThreadPool.UnsafeQueueUserWorkItem (
|
|
|
|
ThreadPool.QueueUserWorkItem (
|
|
|
|
state => {
|
|
|
|
state => {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
callback (asyncResult);
|
|
|
|
callback (asyncResult);
|
|
|
|
|