Fix get-custom-snapshots to conform to the docs.
original commit: 7d45129fcaf2d4c7cd93cff9a4c1943001eb944a
This commit is contained in:
parent
5400ad7a85
commit
e8acafb2a7
|
@ -124,12 +124,9 @@
|
||||||
(unless (eq? t sampler-thread)
|
(unless (eq? t sampler-thread)
|
||||||
(when custom-keys
|
(when custom-keys
|
||||||
(set! custom-snapshots
|
(set! custom-snapshots
|
||||||
(cons (let ([cms (continuation-mark-set->list*
|
(cons (continuation-mark-set->list*
|
||||||
(continuation-marks t)
|
(continuation-marks t)
|
||||||
custom-keys)])
|
custom-keys) ; frames
|
||||||
(if (null? cms)
|
|
||||||
#f
|
|
||||||
(car cms))) ; value
|
|
||||||
custom-snapshots)))
|
custom-snapshots)))
|
||||||
(set! snapshots
|
(set! snapshots
|
||||||
(cons (list* (thread-id t)
|
(cons (list* (thread-id t)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user