adjust planet logging so that it doesn't try to log when the logging thread is dead
(and thus doesn't deadlock in drdr (hopefully))
This commit is contained in:
parent
9b4e0ad15a
commit
a1f94c4bd1
|
@ -49,7 +49,8 @@ seems little point to that).
|
||||||
(loop))))))))))
|
(loop))))))))))
|
||||||
|
|
||||||
(define (planet-terse-log id str)
|
(define (planet-terse-log id str)
|
||||||
(sync (channel-put-evt terse-log-message-chan (list (thread-cell-ref log-key-tc) id str)))
|
(unless (thread-dead? thd)
|
||||||
|
(sync (channel-put-evt terse-log-message-chan (list (thread-cell-ref log-key-tc) id str))))
|
||||||
(void))
|
(void))
|
||||||
|
|
||||||
(define (planet-terse-register proc)
|
(define (planet-terse-register proc)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user