Skip to content

Commit 995beeb

Browse files
lpcoxCopilot
andauthored
Update internal/guard/registry.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 98d5a84 commit 995beeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/guard/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (r *Registry) GetGuardInfo() map[string]string {
103103
return info
104104
}
105105

106-
// Close closes all registered guards that implement io.Closer.
106+
// Close closes all registered guards that implement Close(context.Context) error.
107107
// It should be called during server shutdown to release WASM runtime resources.
108108
func (r *Registry) Close(ctx context.Context) {
109109
r.mu.Lock()

0 commit comments

Comments
 (0)