This commit is contained in:
Kartik K. Agaram 2021-04-28 17:08:15 -07:00
parent d5d3e02ad4
commit ef8dc999ca
1 changed files with 1 additions and 3 deletions

View File

@ -563,9 +563,7 @@ fn edit-sandbox _self: (addr sandbox), key: byte, globals: (addr global-table),
compare g, 0x13/ctrl-s
break-if-!=
# minor gotcha here: any bindings created later in this iteration won't be
# persisted.
# That's ok since we don't clear the gap buffer. If we start doing so
# we'll need to revisit where serialization happens.
# persisted until the next call to ctrl-s.
store-state data-disk, self, globals
# run sandbox
var data-ah/ecx: (addr handle gap-buffer) <- get self, data