From 2d277b661610df901fbfb6f7c2625b1a40da3ed1 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 12 Jun 2001 01:05:44 +0000 Subject: [PATCH] Start the folder-probe thread only when the folder is ONLINE, and stop the thread when the folder is OFFLINE. Make sure that the buffer is disassociated from it's folder when the buffer is killed. --- v7/src/imail/imail-top.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/imail/imail-top.scm b/v7/src/imail/imail-top.scm index 992240bcd..631789f2f 100644 --- a/v7/src/imail/imail-top.scm +++ b/v7/src/imail/imail-top.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-top.scm,v 1.267 2001/06/12 00:58:03 cph Exp $ +;;; $Id: imail-top.scm,v 1.268 2001/06/12 01:05:44 cph Exp $ ;;; ;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology ;;; @@ -1966,6 +1966,7 @@ Negative argument means search in reverse." (if folder (begin (ignore-modification-events folder notice-folder-event) + (stop-probe-folder-thread folder) (remove-property! folder 'BUFFER))))))) (define (delete-associated-buffers folder-buffer) -- 2.25.1