Skip to content

Commit 6578cec

Browse files
committed
make CancellationToken optional
1 parent dd91b71 commit 6578cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smdn.Net.MuninNode/Smdn.Net.MuninNode/NodeBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ async ValueTask StartAsyncCore()
266266
/// <remarks>
267267
/// If current <c>Munin-Node</c> has already stopped, this method does nothing and returns the result.
268268
/// </remarks>
269-
public ValueTask StopAsync(CancellationToken cancellationToken)
269+
public ValueTask StopAsync(CancellationToken cancellationToken = default)
270270
{
271271
ThrowIfDisposed();
272272

0 commit comments

Comments
 (0)