[ruby-cvs:71623] normal:r64531 (trunk): drb: simplify shutdown pipe close logic

normal at ruby-lang.org normal at ruby-lang.org
Sat Aug 25 11:32:10 JST 2018


normal	2018-08-25 11:32:10 +0900 (Sat, 25 Aug 2018)

  New Revision: 64531

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64531

  Log:
    drb: simplify shutdown pipe close logic
    
    IO#close is idempotent, so we don't need to waste bytecode
    to check or nil it at shutdown time.

  Modified files:
    trunk/lib/drb/drb.rb


More information about the ruby-cvs mailing list