Open evandrocoan opened 3 years ago
This issue is caused by LSP plugin as it accesses API after plugin_host has started shutting down.
This could and probably should be handled on the core side. Should be much simpler and universally better to handle it there.
I'm assuming that many of the other APIs won't have problem with being called after plugin unloaded so would say that this should just be fixed in core to do nothing.
Description of the bug
When closing Sublime Text, it creates an error file
Logs/plugin_host-3.8-on_exit.log
, for an exception at\python38\sublime.py", line 1928
On the code, either
regions
fromself.view.query_phantoms
isNone
orself.phantoms
. It seems more probableself.view.query_phantoms
is returningNone
:Steps to reproduce
Unsure happens on shutdown.
Expected behavior
Do not create the error file
plugin_host-3.8-on_exit.log
on shutdown, if there are no actual errors.Actual behavior
Create the error file
plugin_host-3.8-on_exit.log
on shutdown.Sublime Text build number
4121
Operating system & version
Windows 10
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response