8000 minor #6391 Fix mem leak in example doctrine testing (nicolas-grekas) · symfony/symfony-docs@5e20cd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e20cd0

Browse files
committed
minor #6391 Fix mem leak in example doctrine testing (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- Fix mem leak in example doctrine testing | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | symfony/symfony#18236 Commits ------- 7be63a4 Fix mem leak in example doctrine testing
2 parents 16021d6 + 7be63a4 commit 5e20cd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbook/testing/doctrine.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,6 @@ which makes all of this quite easy::
6262
{
6363
parent::tearDown();
6464
$this->em->close();
65+
$this->em = null;
6566
}
6667
}

0 commit comments

Comments
 (0)
0