ruby-lsp 0.23.3 → 0.23.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95642b8034d20684e2596755f391591d6dfffc9021e23a6e2efd0b9a0e500eb0
4
- data.tar.gz: 6db469fda24144ce71eb0c2d8434251b3bf01a800035d85bea5e8e6801cf5120
3
+ metadata.gz: e8b49e72ac08f80faf14e0ed347d4af75f2d55b7465f14412e1e0900f422783f
4
+ data.tar.gz: 0b496376c25068929d275d71a87c414a7ecf185b3dbf6dfba27ccdc8c1b0a61f
5
5
  SHA512:
6
- metadata.gz: 69365797e36c6597b43b5067da2e10b6c634cdb9121081db0e7c16c657fe12e2aa72042ba7beb07480b1cbb4a24c9a37a7a71f5a49a1be42923adb7a85a80715
7
- data.tar.gz: 22695e4a4fd4e72738b43c32e9a693ed9895033e82240317700cde5583537b0ad6e7d8ce530a110624c57278d5a08c4eeb207ae010a4db99b3885bc241c5caa4
6
+ metadata.gz: '0791955260be2f7374522ef551b0636bd87a9947b3b20818d8e0f06dc5046b0b0c7c85beb5c69af2d146c998b2ce4298d7d1bf141be4d71bc5aacf07e0f7c151'
7
+ data.tar.gz: e08f19fc4dd44035cb4e569daf1eab628caec729e903353eaf1ec97aa7644e80552fa903da4d739f696e6de704d7939aebb4685781d81a88b1375a4ab1137225
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.23.3
1
+ 0.23.4
@@ -100,11 +100,7 @@ module RubyLsp
100
100
  @writer.write(Result.new(id: message[:id], response: nil).to_hash)
101
101
  end
102
102
  when "exit"
103
- @global_state.synchronize do
104
- status = @incoming_queue.closed? ? 0 : 1
105
- send_log_message("Shutdown complete with status #{status}")
106
- exit(status)
107
- end
103
+ @global_state.synchronize { exit(@incoming_queue.closed? ? 0 : 1) }
108
104
  else
109
105
  @incoming_queue << message
110
106
  end
@@ -119,8 +115,8 @@ module RubyLsp
119
115
  @outgoing_queue.close
120
116
  @cancelled_requests.clear
121
117
 
122
- @worker.join
123
- @outgoing_dispatcher.join
118
+ @worker.terminate
119
+ @outgoing_dispatcher.terminate
124
120
  @store.clear
125
121
  end
126
122
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.3
4
+ version: 0.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-09 00:00:00.000000000 Z
10
+ date: 2025-01-10 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: language_server-protocol