spotorm / spot2

Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
http://phpdatamapper.com
BSD 3-Clause "New" or "Revised" License
601 stars 101 forks source link

FIx memory leak in Entity #295

Closed Arzaroth closed 1 year ago

Arzaroth commented 4 years ago

This fixes a memory leak in the Entity class. In my case, this represented ~3kB per Entity (which has around 40 relations). I don't think tests are needed for this PR.

vlucas commented 4 years ago

Looks like the CI build is broken for MySQL. Not sure what is up there, but I will look into it.