mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
DEV: Check lifetime props in the Presence service (#26975)
This commit is contained in:
parent
4c47f25530
commit
2f95628f87
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user