diff --git a/app/assets/javascripts/discourse/app/services/screen-track.js b/app/assets/javascripts/discourse/app/services/screen-track.js index ae799f26245..d6c73ebbc99 100644 --- a/app/assets/javascripts/discourse/app/services/screen-track.js +++ b/app/assets/javascripts/discourse/app/services/screen-track.js @@ -183,6 +183,10 @@ export default class ScreenTrack extends Service { }, }) .then(() => { + if (this.isDestroying || this.isDestroyed) { + return; + } + this._ajaxFailures = 0; const topicController = this._topicController; if (topicController) {