mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 13:00:52 +08:00
fix(aistudio): remove no-op executor unregister on WS disconnect
This commit is contained in:
@@ -237,9 +237,6 @@ func (s *Service) wsOnDisconnected(channelID string, reason error) {
|
|||||||
}
|
}
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
s.applyCoreAuthRemoval(ctx, channelID)
|
s.applyCoreAuthRemoval(ctx, channelID)
|
||||||
if s.coreManager != nil {
|
|
||||||
s.coreManager.UnregisterExecutor(channelID)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Service) applyCoreAuthAddOrUpdate(ctx context.Context, auth *coreauth.Auth) {
|
func (s *Service) applyCoreAuthAddOrUpdate(ctx context.Context, auth *coreauth.Auth) {
|
||||||
|
|||||||
Reference in New Issue
Block a user