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 2b755e8549 The loader was never actually created
2b755e8549 is described below

commit 2b755e854982dac8aa1c07808083dcbcf19a5cd3
Author: Harbs <[email protected]>
AuthorDate: Tue Aug 29 23:20:21 2023 +0300

    The loader was never actually created
---
 .../src/main/royale/org/apache/royale/utils/async/HttpRequestTask.as   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/frameworks/projects/Network/src/main/royale/org/apache/royale/utils/async/HttpRequestTask.as
 
b/frameworks/projects/Network/src/main/royale/org/apache/royale/utils/async/HttpRequestTask.as
index 6aca4c6478..2b3c729bac 100644
--- 
a/frameworks/projects/Network/src/main/royale/org/apache/royale/utils/async/HttpRequestTask.as
+++ 
b/frameworks/projects/Network/src/main/royale/org/apache/royale/utils/async/HttpRequestTask.as
@@ -106,6 +106,9 @@ package org.apache.royale.utils.async
                 */
                public function getLoader():URLBinaryLoader
                {
+                       if(!loader)
+                               loader = createLoader();
+
                        return loader;
                }
                /**

Reply via email to