write can be awaited in order to wait for the ram calculation to go through

This commit is contained in:
Olivier Gagnon
2021-10-08 14:05:47 -04:00
parent e91c183d37
commit 8e4722c5e7
4 changed files with 7 additions and 7 deletions
+1
View File
@@ -109,6 +109,7 @@ export class Script {
if (res > 0) {
this.ramUsage = roundToTwo(res);
}
this.markUpdated();
}
// Serialize the current object to a JSON save state