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_r305570464
 
 

 ##########
 File path: guacamole-common-js/src/main/webapp/modules/BlobWriter.js
 ##########
 @@ -120,6 +124,12 @@ Guacamole.BlobWriter = function BlobWriter(stream) {
          */
         var readNextChunk = function readNextChunk() {
 
+            while (reader.readyState == 1) {
 
 Review comment:
   If such a check is needed, the operator of choice is `===`.

----------------------------------------------------------------
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

Reply via email to