Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Mailer] Fix memory leak withmailer.message_logger_listener
#60515
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.4
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
mailer.message_logger_listener
mailer.message_logger_listener
mailer.message_logger_listener
mailer.message_logger_listener
…hen profiler enabled to prevent memory leaks
@@ -4,6 +4,7 @@ CHANGELOG | |||
7.3 | |||
--- | |||
* `mailer.message_logger_listener` now registered in DI only when profiler enabled to prevent memory leaks |
OskarStarkMay 22, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
not needed if this is considered a bugfix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'm not sure whether it is a bugfix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
... because solution is about to dropping service from DI container when profiler is disabled
CI failure is unrelated
|
Uh oh!
There was an error while loading.Please reload this page.
Register
mailer.message_logger_listener
only when profiler enabled to prevent memory leaks as suggested in:@stof can you guide me about the way how to implement your second suggestion too?#50580 (comment)
This change may be considered as a minor BC break - DI service won't be available anymore with disabled profiler.