Skip to content

Commit 122208b

Browse files
authored
Merge pull request #1278 from runspired/patch-1
perf: Remove excessive destroy call
2 parents 9bcbe39 + fa78a43 commit 122208b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

addon-test-support/@ember/test-helpers/setup-context.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,6 @@ function cleanup(context: BaseContext) {
200200
(Ember as any).testing = false;
201201

202202
unsetContext();
203-
204-
if (isTestContext(context)) {
205-
// this should not be required, but until https://github.com/emberjs/ember.js/pull/19106
206-
// lands in a 3.20 patch release
207-
context.owner.destroy();
208-
}
209203
}
210204

211205
/**

0 commit comments

Comments
 (0)