Fix some features not being configurable via features (#10276)
This commit is contained in:
committed by
GitHub
parent
6746ce2da3
commit
ad8d27d2b2
@@ -39,7 +39,7 @@ export class WatchManager {
|
||||
public unwatchSetting(cb: CallbackFn): void {
|
||||
this.watchers.forEach((map) => {
|
||||
map.forEach((callbacks) => {
|
||||
let idx;
|
||||
let idx: number;
|
||||
while ((idx = callbacks.indexOf(cb)) !== -1) {
|
||||
callbacks.splice(idx, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user