Skip to content

Commit

Permalink
v10.0.13 - disabled pwa service worker in yet an attempt to address r…
Browse files Browse the repository at this point in the history
…eporterd Chrome v129 memory issue
  • Loading branch information
jmoenig committed Oct 9, 2024
1 parent c1bcdbc commit 7d9c487
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## in development:

## 10.0.13:
* **Notable Changes:**
* disabled pwa service worker in yet an attempt to address reporterd Chrome v129 memory issue

## 10.0.12:
* **New Features:**
* added extensions to access the "Thread safe scripts" setting
Expand Down
2 changes: 2 additions & 0 deletions snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@
);
};

/*
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js');
}
*/
world = new WorldMorph(document.getElementById('world'));
new IDE_Morph().openIn(world);
requestAnimationFrame(loop);
Expand Down
2 changes: 1 addition & 1 deletion src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ modules.gui = '2024-October-09';

// Declarations

var SnapVersion = '10.0.12';
var SnapVersion = '10.0.13';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
6 changes: 5 additions & 1 deletion sw.js → sw_deactivated.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
var snapVersion = '10.0.12',
/*
the PWA service worker is currently not used because of a memory leak
issue introduced in Chrome v129
*/
var snapVersion = '10.0.12', // disabled in v10.0.11-13
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit 7d9c487

Please sign in to comment.