Fix race
parent
c5eae01930
commit
d517bad9ca
|
@ -108,6 +108,7 @@ MEMO: (vocab-file-contents) ( path -- lines )
|
||||||
: set-vocab-file-contents ( seq vocab name -- )
|
: set-vocab-file-contents ( seq vocab name -- )
|
||||||
dupd vocab-append-path [
|
dupd vocab-append-path [
|
||||||
?resource-path utf8 set-file-lines
|
?resource-path utf8 set-file-lines
|
||||||
|
\ (vocab-file-contents) reset-memoized
|
||||||
] [
|
] [
|
||||||
"The " swap vocab-name
|
"The " swap vocab-name
|
||||||
" vocabulary was not loaded from the file system"
|
" vocabulary was not loaded from the file system"
|
||||||
|
|
Loading…
Reference in New Issue