discourse/plugins/poll
Robin Ward c322cccd53 FIX: Memory Leaks when decorating posts (#7749)
* Remove long-deprecated method

* FIX: Memory Leaks when decorating posts

Previously we'd keep creating mixins dynamically when decorating the
same class.

This code changes the API to recommend an `id` parameter for each
decorator which will avoid leaks. All plugins should be updated to
include this parameter, although if they don't in the meantime it'll
just mean a warning in the console (and a continued leak.)
2019-06-11 17:21:23 +02:00
..
app DEV: Automatically annotate plugin models alongside core models 2019-05-13 16:37:47 +01:00
assets FIX: Memory Leaks when decorating posts (#7749) 2019-06-11 17:21:23 +02:00
config Update translations 2019-06-10 10:36:08 -04:00
db DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
jobs/regular DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
lib DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
spec DEV: Use proper heredoc name. 2019-06-04 16:31:18 +08:00
test/javascripts DEV: refactors select-kit helper to prevent it to leak into global state (#7708) 2019-06-06 10:47:10 +02:00
plugin.rb FIX: ensure the post url is present 2019-05-30 00:05:53 +02:00