From c75e0adcfa6ed3dfa99e8ecc36d8fe6c784aff1e Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 18 Aug 2009 14:30:00 -0400 Subject: [PATCH] fix a thread merging bug introduced by refactoring in 59f8fc2 Signed-off-by: Alex Vandiver --- lib/sup/thread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0