Skip to content

Commit 8329dd9

Browse files
authored
Merge pull request #593 from amatsuda/warnings
Ruby Warnings
2 parents cfc0c5b + 370ab23 commit 8329dd9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/spring/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def serve(client)
147147
log "got client"
148148
manager.puts
149149

150-
stdout, stderr, stdin = streams = 3.times.map { client.recv_io }
150+
_stdout, stderr, _stdin = streams = 3.times.map { client.recv_io }
151151
[STDOUT, STDERR, STDIN].zip(streams).each { |a, b| a.reopen(b) }
152152

153153
preload unless preloaded?

lib/spring/application_manager.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ def initialize(app_env, spring_env)
77
@spring_env = spring_env
88
@mutex = Mutex.new
99
@state = :running
10+
@pid = nil
1011
end
1112

1213
def log(message)

0 commit comments

Comments
 (0)