Skip to content
Snippets Groups Projects
Commit 083adce7 authored by ram's avatar ram
Browse files

In delete-breakpoints-buffer-hook, if no wire (server died), then don't do

anything.
parent 78003778
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/debug.lisp,v 1.4 1991/10/12 20:57:29 chiles Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/debug.lisp,v 1.5 1993/05/31 20:26:29 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -274,11 +274,13 @@ ...@@ -274,11 +274,13 @@
(when server-info (when server-info
(let ((bpts (buffer-breakpoints buffer)) (let ((bpts (buffer-breakpoints buffer))
(wire (server-info-wire server-info))) (wire (server-info-wire server-info)))
(dolist (b bpts) (dolist (b bpts)
(setf *breakpoints* (delete b *breakpoints*)) (setf *breakpoints* (delete b *breakpoints*))
(wire:remote wire (when wire
(di:delete-breakpoint (breakpoint-info-remote-object b)))) (wire:remote wire
(wire:wire-force-output wire))))) (di:delete-breakpoint (breakpoint-info-remote-object b))))
(when wire
(wire:wire-force-output wire)))))))
;;; ;;;
(add-hook delete-buffer-hook 'delete-breakpoints-buffer-hook) (add-hook delete-buffer-hook 'delete-breakpoints-buffer-hook)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment