Add RenderGlimmer support for embedded posts (#21046)

This commit is contained in:
Jan Cernik 2023-04-11 06:22:42 -03:00 committed by GitHub
parent 9238767f7e
commit 352bd35bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -54,4 +54,12 @@ export default createWidget("embedded-post", {
]),
];
},
init() {
this.postContentsDestroyCallbacks = [];
},
destroy() {
this.postContentsDestroyCallbacks.forEach((c) => c());
},
});