We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4533d commit 85e9afcCopy full SHA for 85e9afc
server/util/debugger-ui/deltaUrlToBlobUrl.js
@@ -41,12 +41,16 @@
41
42
// If nothing changed, avoid recreating a bundle blob by reusing the
43
// previous one.
44
- if (deltaPatcher.getLastNumModifiedFiles() === 0 && cachedBundle) {
+ if (
45
+ deltaPatcher.getLastNumModifiedFiles() === 0 &&
46
+ cachedBundle != null &&
47
+ cachedBundle !== ''
48
+ ) {
49
return cachedBundle;
50
}
51
52
// Clean up the previous bundle URL to not leak memory.
- if (cachedBundle) {
53
+ if (cachedBundle != null && cachedBundle !== '') {
54
URL.revokeObjectURL(cachedBundle);
55
56
0 commit comments