Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(go): unable to reuse instances between child/parent interfaces #3321

Merged
merged 2 commits into from Jan 26, 2022

Commits on Jan 12, 2022

  1. fix(go): unable to re-use instances between child/parent interfaces

    The go runtime was not tracking aliases in a way that enabled it to
    return an alternate proxy to an object instance when that had previously
    been returned as a different, singular interface.
    
    This change keeps tack of the "first ever" registered instance against a
    given InstanceID (as this is likely the one that was natively
    constructed), but also to all proxy aliases to the same InstanceID, so
    that it can later return an existing proxy that can be converted to a
    desired type.
    
    Fixes #2688
    RomainMuller committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    8724b1b View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Configuration menu
    Copy the full SHA
    a9fe2ec View commit details
    Browse the repository at this point in the history