Skip to content

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

Open
jenshaase wants to merge 1 commit intoscztt:developfrom
jenshaase:feat/cmd-period-fix
Open

Run CmdPeriod.run() inside the LSPConnection handler thread.#28
jenshaase wants to merge 1 commit intoscztt:developfrom
jenshaase:feat/cmd-period-fix

Conversation

@jenshaase
Copy link
Contributor

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: scztt/vscode-supercollider#59

ServerTree.add or CmdPeriod.add hooks can update the surounding environment. Therefore CmdPeriod.run() has to be executed in the LSPConnection handler thread which defines it's own environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ServerTree.add is not updating global variables

1 participant