Closed rchl closed 1 week ago
It looks that self._windows
gets modified from the main thread via
https://github.com/sublimelsp/LSP/blob/2f37a49968c4591b0df9814561f65890cedb70ed/boot.py#L226-L227
which calls
https://github.com/sublimelsp/LSP/blob/2f37a49968c4591b0df9814561f65890cedb70ed/plugin/core/windows.py#L561-L562
So it should not be iterated on the async thread. Should be easy to fix.
Got this one on changing a setting and closing a window:
self._windows
must have changed from the main thread while this code was running.