Skip to content

Commit 7be63a4

Browse files
Fix mem leak in example doctrine testing
1 parent fdfc2cb commit 7be63a4

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)