aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-27 14:15:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-27 14:15:15 -0700
commit8c249ab4d5c786395ab6e7043e95a0a2387d4461 (patch)
tree58372a339bb7497a657a9ffccd73bfc36a2523b6 /tools/file_packager.py
parent66b0df277f38990b5910ddaf733083bef3922d3d (diff)
own preloaded files, avoiding an unnecessary copy
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r--tools/file_packager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index bb62e905..2871f1ed 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -375,7 +375,7 @@ if has_preloaded:
} else {
Runtime.warn('Preloading file ' + that.name + ' failed');
}
- });
+ }, false, true); // canOwn this data in the filesystem, it is a slide into the heap that will never change
this.requests[this.name] = null;
},
};