Skip to content

Commit

Permalink
Merge pull request #17498 from gitKrystan/backport-didunwatch-fix
Browse files Browse the repository at this point in the history
Don't remove dep keys in `didUnwatch`
  • Loading branch information
rwjblue committed Jan 22, 2019
2 parents a8335bf + 3990377 commit bcfad69
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/@ember/-internals/metal/lib/alias.ts
Expand Up @@ -46,10 +46,6 @@ export class AliasedProperty extends Descriptor implements DescriptorWithDepende
this.consume(obj, keyName, meta);
}

didUnwatch(obj: object, keyName: string, meta: Meta): void {
this.unconsume(obj, keyName, meta);
}

get(obj: object, keyName: string): any {
let ret = get(obj, this.altKey);
this.consume(obj, keyName, metaFor(obj));
Expand Down

0 comments on commit bcfad69

Please sign in to comment.