1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00

Clear visitedCollections

Visited collections are cleared only in commit(). Commit clears up only if it actually has something to do. Processing large amounts of records without changing them cause visitedCollections to grow without any way of clearing.
This commit is contained in:
shulcsm 2013-06-19 16:34:44 +03:00
parent a39ceb3159
commit 3340234785

View file

@ -2356,6 +2356,7 @@ class UnitOfWork implements PropertyChangedListener
$this->collectionUpdates =
$this->extraUpdates =
$this->readOnlyObjects =
$this->visitedCollections =
$this->orphanRemovals = array();
if ($this->commitOrderCalculator !== null) {