mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix page count computation in publicSuffixList.enableWASM()
This commit is contained in:
parent
e0d2285da0
commit
f667fc2d65
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ const enableWASM = (function() {
|
|||
{ imports: { memory: memory } }
|
||||
);
|
||||
}).then(({ instance }) => {
|
||||
const curPageCount = memory.buffer.byteLength;
|
||||
const curPageCount = memory.buffer.byteLength >>> 16;
|
||||
const newPageCount = pslBuffer8 !== undefined
|
||||
? pslBuffer8.byteLength + 0xFFFF >>> 16
|
||||
: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue