diff --git a/packages/unpublished-relationship-performance-test-app/app/routes/destroy.js b/packages/unpublished-relationship-performance-test-app/app/routes/destroy.js index f5e1be60084..65243d9d0fa 100644 --- a/packages/unpublished-relationship-performance-test-app/app/routes/destroy.js +++ b/packages/unpublished-relationship-performance-test-app/app/routes/destroy.js @@ -15,9 +15,9 @@ export default Route.extend({ parent .get('children') .toArray() - .map((child) => child.destroyRecord().then(() => run(() => child.unloadRecord()))) + .map((child) => child.destroyRecord()) ); - const parentPromise = parent.destroyRecord().then(() => run(() => parent.unloadRecord())); + const parentPromise = parent.destroyRecord(); return all([childrenPromise, parentPromise]).then(() => { performance.mark('end-destroy-records');