Rename onunload
This commit is contained in:
parent
39561d386e
commit
e6eedab87d
3 changed files with 3 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ export class SyncClient {
|
|||
this.logger.reset();
|
||||
}
|
||||
|
||||
public onunload(): void {
|
||||
public stop(): void {
|
||||
if (this.remoteListenerIntervalId !== null) {
|
||||
clearInterval(this.remoteListenerIntervalId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue