Skip to content

Commit ad4f48e

Browse files
committed
Correct documentation for ClientHook.Shutdown()
Fixes #423
1 parent 2815a6a commit ad4f48e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capability.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,8 @@ type ClientHook interface {
854854

855855
// Shutdown releases any resources associated with this capability.
856856
// The behavior of calling any methods on the receiver after calling
857-
// Shutdown is undefined. It is expected for the ClientHook to reject
858-
// any outstanding call futures.
857+
// Shutdown is undefined. Any already-outstanding calls should not
858+
// be interrupted.
859859
Shutdown()
860860

861861
// String formats the hook as a string (same as fmt.Stringer)

0 commit comments

Comments
 (0)