mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
Unit test fix.
This commit is contained in:
@@ -36,6 +36,8 @@ namespace Renci.SshNet.Abstractions
|
||||
/// <param name="action">The action to execute.</param>
|
||||
public static void ExecuteThread(Action action)
|
||||
{
|
||||
if (action == null)
|
||||
throw new ArgumentNullException("action");
|
||||
#if FEATURE_THREAD_THREADPOOL
|
||||
System.Threading.ThreadPool.QueueUserWorkItem(o => action());
|
||||
#elif FEATURE_THREAD_TAP
|
||||
|
||||
Reference in New Issue
Block a user