Use SmartThreadPool on Mono only, Windows system thread pool works fine
This commit is contained in:
@@ -62,8 +62,11 @@ namespace OpenMetaverse
|
||||
|
||||
public static void Shutdown()
|
||||
{
|
||||
Pool.Shutdown();
|
||||
Pool = null;
|
||||
if (Pool != null)
|
||||
{
|
||||
Pool.Shutdown();
|
||||
Pool = null;
|
||||
}
|
||||
}
|
||||
|
||||
public static void QueueUserWorkItem(System.Threading.WaitCallback callback)
|
||||
|
||||
Reference in New Issue
Block a user