emberjs/data — pull request #1714 by stefanpenner (2014-01-29 19:43:52+00:00)
Title: Destroying the store cleanups up after itself:

- unload's all Records
- unload's all RecordArrays
- destroy's all records (so life cycle hooks get called for cleanup)
- destroy's all RecordArrays

Unloading a record now:
- is allowed, unless the record is inflight. (previously it was disallowed for all dirty states)