Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($injector): remove INSTANTIATING entry when done. #5577

Closed
wants to merge 1 commit into from

Commits on Dec 31, 2013

  1. fix($injector): remove INSTANTIATING entry when done.

    getService flags services as INSTANTIATING while it calls their
    provider factory, in order to detect circular dependencies. If
    the service is instantiated correctly, the INSTANTIATING flag is
    overwritten with the actual service. However, if the service is
    not instantiated correctly, the INSTANTIATING flag should still
    be removed, or all further requests for this service will be
    mis-detected as a circular dependency.
    
    Closes angular#4361.
    metamatt committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    8c64746 View commit details
    Browse the repository at this point in the history