Change: don't wait when broadcasting messages (#622)
This commit is contained in:
parent
ddd03eab1d
commit
52b7742a45
|
@ -290,8 +290,8 @@ const styleManager = (() => {
|
|||
style.data = data;
|
||||
method = 'styleUpdated';
|
||||
}
|
||||
return broadcastStyleUpdated(data, reason, method, codeIsUpdated)
|
||||
.then(() => data);
|
||||
broadcastStyleUpdated(data, reason, method, codeIsUpdated);
|
||||
return data;
|
||||
}
|
||||
|
||||
// get styles matching a URL, including sloppy regexps and excluded items.
|
||||
|
|
Loading…
Reference in New Issue
Block a user