* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
021e8ead5c
commit
771064fa1d
@ -62,7 +62,7 @@ module DRb
|
|||||||
return unless Thread.main.alive?
|
return unless Thread.main.alive?
|
||||||
return if @expires.nil?
|
return if @expires.nil?
|
||||||
Thread.new { rotate } if @expires < Time.now
|
Thread.new { rotate } if @expires < Time.now
|
||||||
ObjectSpace.define_finalizer(Object.new) {on_gc}
|
ObjectSpace.define_finalizer(Object.new) {on_gc}
|
||||||
end
|
end
|
||||||
|
|
||||||
def rotate
|
def rotate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user