mike-jumper commented on a change in pull request #428: GUACAMOLE-827: If the FileReader object is busy, don't continue with … URL: https://github.com/apache/guacamole-client/pull/428#discussion_r305570505
########## File path: guacamole-common-js/src/main/webapp/modules/BlobWriter.js ########## @@ -110,6 +110,10 @@ Guacamole.BlobWriter = function BlobWriter(stream) { var offset = 0; var reader = new FileReader(); + var sleep = function sleep(ms) { + return new Promise(resolve => setTimeout(resolve, ms)); + } Review comment: Beware you're missing a semicolon here. Not an issue if this function is ultimately deleted (see below). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services