Fix for pull request #155, merged 503ada402b

This commit is contained in:
sta 2015-08-26 15:57:25 +09:00
parent 3c060c545a
commit 2c65fd2714

View File

@ -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);