Skip to content

Commit c77a0e4

Browse files
committed
Add note about usage
1 parent ac01952 commit c77a0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Halibut/Util/CancelOnDisposeCancellationToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void CancelAfter(TimeSpan timeSpan)
9090
/// <summary>
9191
/// Tasks supplied here will be awaited on in the dispose method after
9292
/// the Token is cancelled and before the token is disposed.
93-
/// Thread safe: uses Interlocked.CompareExchange for initialization and ConcurrentBag for storage.
93+
/// Must be called before dispose is called.
9494
/// </summary>
9595
/// <param name="tasksUsingToken"></param>
9696
public void AwaitTasksBeforeCTSDispose(params Task[] tasksUsingToken)

0 commit comments

Comments
 (0)