tools.memory: move invariant code to cleanup-always quot of the cleanup

char-rename
Alexander Iljin 2016-05-31 13:07:20 +03:00 committed by John Benediktsson
parent e9454fc310
commit b0c6f97bf5
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ PRIVATE>
: collect-gc-events ( quot -- gc-events )
enable-gc-events
[ ] [ disable-gc-events drop ] cleanup
disable-gc-events [ gc-event memory>struct ] map ; inline
[ disable-gc-events ] [ drop ] cleanup
[ gc-event memory>struct ] map ; inline
<PRIVATE