We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0774e96 commit 660a518Copy full SHA for 660a518
app/server/sonicpi/lib/sonicpi/scsynthexternal.rb
@@ -221,7 +221,7 @@ def boot_and_wait(*args)
221
log "Boot - Starting the SuperCollider server..."
222
@scsynth_log_file = File.open(scsynth_log_path, 'w')
223
@scsynth_log_file.puts "# Starting SuperCollider #{Time.now.strftime("%Y-%m-%d %H:%M:%S")}"
224
- at_exit { @scsynth_log_file.close }
+ at_exit { @scsynth_log_file.close if @scsynth_log_file}
225
scsynth_pipe = IO.popen(args)
226
@scsynth_pid = scsynth_pipe.pid
227
0 commit comments