Skip to content

Commit

Permalink
use dup to keep things simple
Browse files Browse the repository at this point in the history
  • Loading branch information
montanalow committed Jul 18, 2019
1 parent 3b48d32 commit bed62de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puma/events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def call(str)
#
def initialize(stdout, stderr)
@formatter = DefaultFormatter.new
@stdout = stdout
@stderr = stderr
@stdout = stdout.dup
@stderr = stderr.dup

@stdout.sync = true
@stderr.sync = true
Expand Down

0 comments on commit bed62de

Please sign in to comment.