Tweaked shutdown code for async Udp Listener
This commit is contained in:
@@ -337,11 +337,11 @@ namespace TimberWinR.TestGenerator
|
||||
|
||||
private static JObject ShutdownTimberWinR()
|
||||
{
|
||||
_timberWinR.Shutdown();
|
||||
|
||||
// Cancel any/all other threads
|
||||
_cancellationTokenSource.Cancel();
|
||||
|
||||
_timberWinR.Shutdown();
|
||||
|
||||
var json = Diagnostics.DiagnosticsOutput();
|
||||
|
||||
LogManager.GetCurrentClassLogger()
|
||||
|
||||
Reference in New Issue
Block a user