Skip to content

Commit c99d0df

Browse files
committed
fix(aistudio): remove no-op executor unregister on WS disconnect
1 parent 663b9b3 commit c99d0df

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sdk/cliproxy/service.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,6 @@ func (s *Service) wsOnDisconnected(channelID string, reason error) {
237237
}
238238
ctx := context.Background()
239239
s.applyCoreAuthRemoval(ctx, channelID)
240-
if s.coreManager != nil {
241-
s.coreManager.UnregisterExecutor(channelID)
242-
}
243240
}
244241

245242
func (s *Service) applyCoreAuthAddOrUpdate(ctx context.Context, auth *coreauth.Auth) {

0 commit comments

Comments
 (0)