1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 00:17:04 +00:00

added volatile

This commit is contained in:
Steven Hugg
2017-04-01 13:34:24 -04:00
parent 49cc581b2b
commit 13ea4fc236
10 changed files with 38 additions and 26 deletions
+1
View File
@@ -443,6 +443,7 @@ function setCompileOutput(data) {
}
worker.onmessage = function(e) {
// TODO: this doesn't completely work yet
if (pendingWorkerMessages > 1) {
pendingWorkerMessages = 0;
setCode(editor.getValue());