diff --git a/websocket-sharp/Net/HttpListenerAsyncResult.cs b/websocket-sharp/Net/HttpListenerAsyncResult.cs index cee32c5e..569bac31 100644 --- a/websocket-sharp/Net/HttpListenerAsyncResult.cs +++ b/websocket-sharp/Net/HttpListenerAsyncResult.cs @@ -37,6 +37,13 @@ */ #endregion +#region Contributors +/* + * Contributors: + * - Nicholas Devenish + */ +#endregion + using System; using System.Security.Principal; using System.Threading; @@ -137,7 +144,7 @@ namespace WebSocketSharp.Net var callback = asyncResult._callback; if (callback != null) - ThreadPool.UnsafeQueueUserWorkItem ( + ThreadPool.QueueUserWorkItem ( state => { try { callback (asyncResult);