mirror of https://github.com/gorhill/uBlock.git
No need for async
This commit is contained in:
parent
986ea0691d
commit
7347a2148a
|
@ -1111,7 +1111,7 @@ const webRequest = {
|
||||||
vAPI.net.suspend();
|
vAPI.net.suspend();
|
||||||
}
|
}
|
||||||
|
|
||||||
return async ( ) => {
|
return ( ) => {
|
||||||
vAPI.net.setSuspendableListener(onBeforeRequest);
|
vAPI.net.setSuspendableListener(onBeforeRequest);
|
||||||
vAPI.net.addListener(
|
vAPI.net.addListener(
|
||||||
'onHeadersReceived',
|
'onHeadersReceived',
|
||||||
|
|
Loading…
Reference in New Issue