Add brackets around this statement:
```
if (this._windowsChangedId > 0) {
    this.app.disconnect(this._windowsChangedId);
}
```