mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Check lifetime props in the Presence service (#26975)
This commit is contained in:
@@ -502,6 +502,10 @@ export default class PresenceService extends Service {
|
||||
}
|
||||
|
||||
async _updateServer() {
|
||||
if (this.isDestroying || this.isDestroyed) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._lastUpdate = new Date();
|
||||
this._updateRunning = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user