blob: 552b4dfd1826ad648e70e8f213b80dbfe7ec7ea4 [file] [log] [blame]
object = null;
count = 0
onmessage = function(message) {
try {
if (!object)
object = {[message.data.filename]: message.data.filename};
if (count++ == 10) {
object = null;
for (var i = 0; i < 1000; i++)
object = {} + "" + i
object = null;
count = 0;
}
postMessage(message.data);
} catch(e) {
postMessage(message.data);
}
}