objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

Library which are not initialized asynchronously are not correctly cached #201

Closed objecthub-io closed 7 years ago

objecthub-io commented 7 years ago

If there is no asynchronous init() function it looks as if libraries might not be properly cached by Libraries.require()

objecthub-io commented 7 years ago

Behavior as expected. Whenever the lib is required, it is initialized from the cached function.

Only in object dependencies library objects might be cached completely (and only here the can, since they will have the same contextVariables).