mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
A second load reply, from Discard clicked twice or during the first load, replaced the editor again after it had become editable. Only the reply to the outstanding load is applied now, and Discard does nothing while a load is outstanding. The save lock holds an owner token and is released only by its owner; a stale lock is renamed away before removal, so two saves cannot both take it over. A save removes only a staging file it created and, holding the lock, removes staging files left by saves that ended before their rename. A save acknowledgement arriving after the page's timeout is still accepted, and text that cannot be encoded is refused before it is sent. app.wasm is rebuilt and the package re-signed with the demo key.
173 KiB
173 KiB