lib/steep/drivers/checkfile.rb in steep-1.4.0 vs lib/steep/drivers/checkfile.rb in steep-1.5.0.pre.1
- old
+ new
@@ -117,12 +117,12 @@
typecheck_workers: typecheck_workers
)
master.typecheck_automatically = false
main_thread = Thread.start do
+ Thread.current.abort_on_exception = true
master.start()
end
- main_thread.abort_on_exception = true
Steep.logger.info { "Initializing server" }
initialize_id = request_id()
client_writer.write({ method: :initialize, id: initialize_id, params: {} })
wait_for_response_id(reader: client_reader, id: initialize_id)