Rename onunload

This commit is contained in:
Andras Schmelczer 2025-02-22 15:18:30 +00:00
parent 39561d386e
commit e6eedab87d
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 3 additions and 2 deletions

View file

@ -138,7 +138,7 @@ export class SyncClient {
this.logger.reset();
}
public onunload(): void {
public stop(): void {
if (this.remoteListenerIntervalId !== null) {
clearInterval(this.remoteListenerIntervalId);
}