[sup-talk] [PATCH] Fix a recurring bug about killed threads.

Nicolas Pouillard nicolas.pouillard at gmail.com
Mon Mar 16 14:39:40 EDT 2009


Resent...

---
 ...e-60d86dd32054533a6206f698033ec668af6a7574.yaml |   10 ++++++++--
 lib/sup/modes/thread-index-mode.rb                 |    2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml b/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml
index 7fb616c..2830fff 100644
--- a/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml
+++ b/bugs/issue-60d86dd32054533a6206f698033ec668af6a7574.yaml
@@ -5,8 +5,8 @@ type: :bugfix
 component: indexing
 release: 
 reporter: William Morgan <wmorgan-sup at masanjin.net>
-status: :unstarted
-disposition: 
+status: :closed
+disposition: :fixed
 creation_time: 2008-04-25 19:28:51.369257 Z
 references: []
 
@@ -20,4 +20,10 @@ log_events:
   - William Morgan <wmorgan-sup at masanjin.net>
   - unassigned from release 0.6
   - ""
+- - 2008-11-21 14:23:17.566852 Z
+  - Nicolas Pouillard <nicolas.pouillard at gmail.com>
+  - closed with disposition fixed
+  - |-
+    Loading options was not given to load_thread_for_message in
+    ThreadIndexMode.add_or_unhide.
 git_branch: 
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
index 3dd0498..73144db 100644
--- a/lib/sup/modes/thread-index-mode.rb
+++ b/lib/sup/modes/thread-index-mode.rb
@@ -567,7 +567,7 @@ protected
   def add_or_unhide m
     @ts_mutex.synchronize do
       if (is_relevant?(m) || @ts.is_relevant?(m)) && !@ts.contains?(m)
-        @ts.load_thread_for_message m
+        @ts.load_thread_for_message m, @load_thread_opts
       end
 
       @hidden_threads.delete @ts.thread_for(m)

-- 
Nicolas Pouillard


More information about the sup-talk mailing list