Skip to content

Commit

Permalink
Fixes checking if a remote server no longer exists (#14420)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Oct 4, 2023
1 parent 93e7789 commit 11de1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernels/jupyter/finder/remoteKernelFinderController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class RemoteKernelFinderController implements IRemoteKernelFinderControll
if (
finder.serverProviderHandle.extensionId === collection.extensionId &&
finder.serverProviderHandle.id === collection.id &&
!currentServerIds.has(finder.serverProviderHandle.handle)
!currentServerIds.has(generateIdFromRemoteProvider(finder.serverProviderHandle))
) {
finder.dispose();
this.serverFinderMapping.delete(serverId);
Expand Down

0 comments on commit 11de1dc

Please sign in to comment.