mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
fix: better session management for github_copilot_provider
This commit is contained in:
@@ -212,6 +212,9 @@ func gatewayCmd() {
|
||||
|
||||
fmt.Println("\nShutting down...")
|
||||
cancel()
|
||||
if cp, ok := provider.(providers.SessionProvider); ok {
|
||||
cp.Close()
|
||||
}
|
||||
healthServer.Stop(context.Background())
|
||||
deviceService.Stop()
|
||||
heartbeatService.Stop()
|
||||
|
||||
Reference in New Issue
Block a user