From: Alex Vandiver Date: Tue, 18 Aug 2009 18:30:00 +0000 (-0400) Subject: fix a thread merging bug introduced by refactoring in 59f8fc2 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c75e0adcfa6ed3dfa99e8ecc36d8fe6c784aff1e;hp=0e707c00b83fc29ec5ec9ee7a1251c8ee3f98b93;p=sup fix a thread merging bug introduced by refactoring in 59f8fc2 Signed-off-by: Alex Vandiver --- diff --git a/lib/sup/thread.rb b/lib/sup/thread.rb index d395c35..3ff4e7f 100644 --- a/lib/sup/thread.rb +++ b/lib/sup/thread.rb @@ -357,7 +357,7 @@ class ThreadSet return if threads.size < 2 containers = threads.map do |t| - c = @messages.member?(c) ? @messages[t.first.id] : nil + c = @messages.member?(t.first.id) ? @messages[t.first.id] : nil raise "not in threadset: #{t.first.id}" unless c && c.message c end