File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -433,8 +433,9 @@ public void RunAsync(string threadName)
433
433
/// Runs the poller in a specified thread - background/foreground, returning once the poller has started.
434
434
/// </summary>
435
435
/// <param name="threadName">The thread name to use.</param>
436
- /// <param name="foregroundPoller">Allow the poller thread to be a foreground thread/background.</param>
437
- public void RunAsync ( string threadName , bool foregroundPoller )
436
+ /// <param name="longRunningPoller">Allow the poller thread to be a long running
437
+ /// poller (either foreground thread /background)</param>
438
+ public void RunAsync ( string threadName , bool longRunningPoller )
438
439
{
439
440
CheckDisposed ( ) ;
440
441
if ( IsRunning )
@@ -443,7 +444,7 @@ public void RunAsync(string threadName, bool foregroundPoller)
443
444
var thread = new Thread ( Run )
444
445
{
445
446
Name = threadName ,
446
- IsBackground = ! foregroundPoller
447
+ IsBackground = ! longRunningPoller
447
448
} ;
448
449
thread . Start ( ) ;
449
450
You can’t perform that action at this time.
0 commit comments