Skip to content

Commit 64bf699

Browse files
lpcoxCopilot
andauthored
Update internal/server/unified.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6b43c7a commit 64bf699

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

internal/server/unified.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,7 @@ func (us *UnifiedServer) GetToolHandler(backendID string, toolName string) func(
718718

719719
// Close cleans up resources
720720
func (us *UnifiedServer) Close() error {
721-
if us.guardRegistry != nil {
722-
us.guardRegistry.Close(context.Background())
723-
}
724-
us.launcher.Close()
721+
us.InitiateShutdown()
725722
return nil
726723
}
727724

0 commit comments

Comments
 (0)