diff --git a/vendor/priors/gwt.js b/vendor/priors/gwt.js index 15205fd3..34f2e925 100644 --- a/vendor/priors/gwt.js +++ b/vendor/priors/gwt.js @@ -403,7 +403,9 @@ opfsWorker.onmessage = function(event) { // reads ); } else { console.log('getOPFSKV NOT found in cache. filename:' + message.filename); - pendingFuture.complete(peergos.client.JsUtil.emptyOptional()) + pendingFutures.forEach(pendingFuture => + pendingFuture.complete(peergos.client.JsUtil.emptyOptional()) + ); } } else { if (message.contents == null) {