From: wmorgan Date: Fri, 25 May 2007 16:53:02 +0000 (+0000) Subject: bugfix introduced by previous thread refactoring: relevant messages to a current... X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=48c3d669844df3e149da648986cdf6720f5e11bd;p=sup bugfix introduced by previous thread refactoring: relevant messages to a current threadset now done correctly git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@415 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/thread.rb b/lib/sup/thread.rb index e319553..020cf72 100644 --- a/lib/sup/thread.rb +++ b/lib/sup/thread.rb @@ -324,7 +324,7 @@ class ThreadSet end def is_relevant? m - m.refs.any? { |ref_id| @messages[ref_id] } + m.refs.any? { |ref_id| @messages.member? ref_id } end ## the heart of the threading code