diff options
Diffstat (limited to 'lib/rainbows/xepoll_thread_spawn')
-rw-r--r-- | lib/rainbows/xepoll_thread_spawn/client.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rainbows/xepoll_thread_spawn/client.rb b/lib/rainbows/xepoll_thread_spawn/client.rb index 67c5976..218db3e 100644 --- a/lib/rainbows/xepoll_thread_spawn/client.rb +++ b/lib/rainbows/xepoll_thread_spawn/client.rb @@ -27,8 +27,7 @@ module Rainbows::XEpollThreadSpawn::Client ep = SleepyPenguin::Epoll EP = ep.new IN = ep::IN | ep::ONESHOT - KATO = {} - KATO.compare_by_identity if KATO.respond_to?(:compare_by_identity) + KATO = {}.compare_by_identity LOCK = Mutex.new Rainbows.at_quit do clients = nil |