Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport changes from 4.x and 3.x to avoid memory leaks #4654

Closed
wants to merge 1 commit into from

Conversation

tzkoshi
Copy link

@tzkoshi tzkoshi commented May 17, 2021

Q A
Type bug
BC Break no
Fixed issues #4515

Summary

Backport changes from 3.x and 4.x. to 2.13.x.
The main idea to copy the changes down to this version is that the official package for the ORM part does not support 3.x yet.
So this fixes the memory leak in the DBAL part.

I'm not very familiar with the codebase, so if there is something more that have to be done - please, let me know.

@tzkoshi tzkoshi changed the title Backport changes from 4.0.x to avoid memory leaks Backport changes from 4.x and 3.x to avoid memory leaks May 17, 2021
@tzkoshi tzkoshi marked this pull request as ready for review May 17, 2021 06:08
@@ -218,8 +211,6 @@ public function __construct(
$this->_config = $config;
$this->_eventManager = $eventManager;

$this->_expr = new Query\Expression\ExpressionBuilder($this);
Copy link
Member

@morozov morozov May 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a BC break (see #4516). That's why the issue is fixed only in the next major release.

@morozov morozov closed this May 17, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants