A platform for community discussion. Free, open, simple.
DEV: Fix a call-after-destroy issue (#14923)
Jarek Radosz827b6c99ae92
diff --git a/app/assets/javascripts/discourse/app/components/topic-progress.js b/app/assets/javascripts/discourse/app/components/topic-progress.jsindex bf772e19324..41ff05f96bf 100644--- a/app/assets/javascripts/discourse/app/components/topic-progress.js+++ b/app/assets/javascripts/discourse/app/components/topic-progress.js@@ -155,6 +155,10 @@ export default Component.extend({@bind_intersectionHandler(entries) {+ if (!this.element || this.isDestroying || this.isDestroyed) {+ return;+ }+if (entries[0].isIntersecting === true) {this.set("docked", true);} else {