chrisdutz commented on issue #899: URL: https://github.com/apache/royale-asjs/issues/899#issuecomment-679948253
So currently I think if something requires a class, royale checks if it's already registered. If it's not, it uses the information in the "addDependency" to fetch it. As soon as the class is loaded, the first code-line in the type makes it register itself so the next component requiring the same type will re-use that. So I think a solution would be not to only track which types are "provided" (actively loaded already) but also which ones where requested and sort of are "in flight" and to not re-request ones that have been requested. ---------------------------------------------------------------- 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: [email protected]
