-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
[pulsar-next] Cannot read properites of null while reload & dev console focused #1219
Comments
getActiveTextEditor
while reload & dev console focused
It look like a simple guard fix this: |
So the only way to trigger this is to have focus in the developer tools console while triggering the window reload? I suspect that this is happening because performing that key combination while the dev tools are focused triggers reload through conventional means, rather than through our Window: Reload command. If you can type If I'm right about the cause here, then I don't think it's a bug. I think it's plausible that a certain amount of environment cleanup is triggered by the Window: Reload command, but isn't listening for a It's possible we could do this the “correct” way and have all our cleanup behavior downstream of the actual request to reload the page, but not certain. For instance, if we have to do any asynchronous cleanup work, then it's probably better for us to perform that work, If I'm not right about the cause, then I wasted a few minutes of my life typing these words. |
Oof! OK, then the root cause is something else. I'll take a look. |
Oh sorry, I have tested it more and |
If it's a literal crash, hopefully that's just #1215 rearing its ugly head? Or have you updated since that fix? |
Thanks in advance for your bug report!
What happened?
It looks like workspace is destroyed to early if dev tools is focuesd.It looks like View Registry send update after atom.workspace is destroyed
Pulsar version
1.124.2025021423-next
Which OS does this happen on?
🪟 Windows
OS details
10
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
Additional Information:
No response
The text was updated successfully, but these errors were encountered: