-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Add an
id
to prevent memory leaks
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f4ab02e
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.
SamSaffron posted:
I wonder ... can "api" object auto inject this for plugins by default?
I know it would be a reasonably big change, but then the information about who owns what could be propagated everywhere. I guess there are still edge cases where you decorate cooked multiple times.
f4ab02e
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.
Robin Ward posted:
Yeah it only really works when there is one decorator, and of course we'd need to change the plugin API to take a name.
This was the easiest and less intrusive solution @jjaffeux and I could come up with.