Skip to content

Commit ddec69f

Browse files
authored
Update NetMQPoller.cs
Adapting the review comments. Modified the variable name.
1 parent 51ecc70 commit ddec69f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/NetMQ/NetMQPoller.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@ public void RunAsync(string threadName)
433433
/// Runs the poller in a specified thread - background/foreground, returning once the poller has started.
434434
/// </summary>
435435
/// <param name="threadName">The thread name to use.</param>
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)
436+
/// <param name="isBackgroundThread">Allow the poller thread to be a long running
437+
/// poller (either foreground thread/background)</param>
438+
public void RunAsync(string threadName, bool isBackgroundThread)
439439
{
440440
CheckDisposed();
441441
if (IsRunning)
@@ -444,7 +444,7 @@ public void RunAsync(string threadName, bool longRunningPoller)
444444
var thread = new Thread(Run)
445445
{
446446
Name = threadName,
447-
IsBackground = !longRunningPoller
447+
IsBackground = isBackgroundThread
448448
};
449449
thread.Start();
450450

0 commit comments

Comments
 (0)