fix(aistudio): remove no-op executor unregister on WS disconnect

This commit is contained in:
hkfires
2025-10-28 19:51:05 +08:00
parent 663b9b35ab
commit c99d0dfb33

View File

@@ -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) {