Fix Performance Report on unsaved files.
This commit is contained in:
parent
aa235ac959
commit
30ea1afc58
|
@ -39,11 +39,11 @@
|
||||||
(define log-entry-data (cdr (vector-ref l 2))) ; log-entry struct
|
(define log-entry-data (cdr (vector-ref l 2))) ; log-entry struct
|
||||||
(define stx (log-entry-stx log-entry-data))
|
(define stx (log-entry-stx log-entry-data))
|
||||||
(define path
|
(define path
|
||||||
(if (and (pseudo-syntax-source-directory stx)
|
(let ([dir (deserialize (pseudo-syntax-source-directory stx))]
|
||||||
(pseudo-syntax-source-file-name stx))
|
[file (deserialize (pseudo-syntax-source-file-name stx))])
|
||||||
(build-path (deserialize (pseudo-syntax-source-directory stx))
|
(if (and dir file)
|
||||||
(deserialize (pseudo-syntax-source-file-name stx)))
|
(build-path dir file)
|
||||||
#f))
|
#f)))
|
||||||
(cond [(and good-portname-cache ; cache is populated
|
(cond [(and good-portname-cache ; cache is populated
|
||||||
(equal? path good-portname-cache))
|
(equal? path good-portname-cache))
|
||||||
#t]
|
#t]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user