[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sup-devel] [PATCH] [issue54] log-mode and poll-mode buffers are not killable
---
lib/sup/modes/log-mode.rb | 2 ++
lib/sup/modes/poll-mode.rb | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/sup/modes/log-mode.rb b/lib/sup/modes/log-mode.rb
index de320ce..e583caf 100644
--- a/lib/sup/modes/log-mode.rb
+++ b/lib/sup/modes/log-mode.rb
@@ -52,6 +52,8 @@ class LogMode < TextMode
self.text = ""
super
end
+
+ def killable?; false; end
end
end
diff --git a/lib/sup/modes/poll-mode.rb b/lib/sup/modes/poll-mode.rb
index cf61343..deb22d6 100644
--- a/lib/sup/modes/poll-mode.rb
+++ b/lib/sup/modes/poll-mode.rb
@@ -14,6 +14,8 @@ class PollMode < LogMode
self << "Poll started at #{Time.now}\n"
PollManager.do_poll { |s| self << (s + "\n") }
end
+
+ def killable?; false; end
end
end
--
1.6.6
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel