emberjs/ember.js — pull request #5567 by ajbogh (2014-09-09 03:38:45+00:00)
Title: Fixed a Cannot read property of undefined error in chains.js

Fixed an error in chains.js that happens when switching routes from one that uses an object's sub-objects in handlebars templates. Upon destruction of the previous route Ember will destroy the parent object before destroying its children in the chain. This will cause Ember to error when it reaches the children because there is no chain to destroy. This affects Ember versions 1.3.0-1.7.0+. See example here: http://plnkr.co/edit/5nbJ6h0m3RCKnv6geKfi?p=preview