mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
docs: address maintainer review for PR #1047
This commit is contained in:
1 parent
5889d35327
commit
bbbdd0aeba
2 files changed
+3
-6
No files matched your search
@@ -142,7 +142,7 @@ export class MapSourceController {
|
||||
if (this._destroyed || !this._subscribers.size) return;
|
||||
const state = this.getState();
|
||||
for (const listener of [...this._subscribers]) {
|
||||
if (this._destroyed || !this._subscribers.has(listener)) continue;
|
||||
if (!this._subscribers.has(listener)) continue;
|
||||
try {
|
||||
listener(state);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user