Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update connection.ts #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update connection.ts #5

wants to merge 1 commit into from

Conversation

hanlaman
Copy link
Owner

This modification ensures that the clearHandler method is only called on serverRequests if it is defined, preventing the TypeError related to accessing properties of undefined or null objects.

References

Incorrect disposal of LSP connection due to access to undefined serverRequests jupyterlab#16185:

Code changes

This modification should ensure that the clearHandler method is only called on serverRequests if it is defined, preventing the TypeError related to accessing properties of undefined or null objects.

This modification ensures that the clearHandler method is only called on serverRequests if it is defined, preventing the TypeError related to accessing properties of undefined or null objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant