Fix for pull request #155, merged 503ada402b
This commit is contained in:
parent
3c060c545a
commit
2c65fd2714
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user