Skip to content

Commit 93679ba

Browse files
andyw8vinistock
andauthored
Update lib/ruby_lsp/ruby_lsp_rails/runner_client.rb
Co-authored-by: Vinicius Stock <[email protected]>
1 parent 3e45f8c commit 93679ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_lsp/ruby_lsp_rails/runner_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def model(name)
3636
sig { void }
3737
def shutdown
3838
send_notification("shutdown")
39-
sleep(0.01) while @wait_thread.alive?
39+
Thread.pass while @wait_thread.alive?
4040
[@stdin, @stdout, @stderr].each(&:close)
4141
end
4242

0 commit comments

Comments
 (0)