mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: Check if screen-track was destroyed (#17509)
This error is swallowed by `.catch()` but it's an error nonetheless.
This commit is contained in:
parent
8ddca5998c
commit
7cf95e6339
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user