You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2022/01/27 14:32:39 UTC

[royale-asjs] branch develop updated: Fixed #1175

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new efbeae0  Fixed #1175
efbeae0 is described below

commit efbeae0f9569917684c2db43d70fc9c0864e8fa6
Author: Harbs <ha...@in-tools.com>
AuthorDate: Thu Jan 27 16:32:22 2022 +0200

    Fixed #1175
---
 .../projects/Network/src/main/royale/org/apache/royale/net/URLLoader.as | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLLoader.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLLoader.as
index a49e074..93219b5 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLLoader.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLLoader.as
@@ -369,6 +369,8 @@ package org.apache.royale.net
             } else {
                 bytesLoaded = 0;
                 bytesTotal = 0;
+                if (e.type == 'load')
+                    dispatchEvent(HTTPConstants.COMPLETE);
             }
         }