scztt / LanguageServer.quark

16 stars 10 forks source link

Run CmdPeriod.run() inside the LSPConnection handler thread. #28

Open jenshaase opened 1 month ago

jenshaase commented 1 month ago

ServerTree.add or CmdPeriod.add hooks can update the surrounding environment. Therefore CmdPeriod.run() has to be executed in the LSPConnection handler thread which defines it's own environment.

This fixes: https://github.com/scztt/vscode-supercollider/issues/59