Commit d33ee3bb authored by Skye Yu's avatar Skye Yu

remove code

parent 49eb6e93
...@@ -759,7 +759,6 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -759,7 +759,6 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
flen += msg.body.length || msg.body.byteLength; flen += msg.body.length || msg.body.byteLength;
ondata(msg.body); ondata(msg.body);
Logger.info('jensen', 'getFile length', `${length} ${flen}`) Logger.info('jensen', 'getFile length', `${length} ${flen}`)
clearEventAndTask();
if (flen >= length) { if (flen >= length) {
document.removeEventListener('visibilitychange', visibilitychange); document.removeEventListener('visibilitychange', visibilitychange);
Logger.info('jensen', 'getFile', 'file download finish.') Logger.info('jensen', 'getFile', 'file download finish.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment