private static void TimerCallback(CancellationTokenSource cancellationTokenSource) { var callbacks = cancellationTokenSource._callbacks; if (callbacks != null) { cancellationTokenSource.CancelExtracted(false, callbacks, true); } }
private static void TimerCallback(CancellationTokenSource cancellationTokenSource) { var callbacks = cancellationTokenSource._callbacks; if (callbacks != null) { cancellationTokenSource.CancelExtracted(false, callbacks, true); } }