mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02:00
Make sure journal slot pointers are properly reset
For when the same page store is recycled later.
This commit is contained in:
parent
873054435b
commit
752191a04f
@ -357,6 +357,7 @@ const PageStore = class {
|
||||
}
|
||||
this.journal = [];
|
||||
this.journalLastUncommittedOrigin = undefined;
|
||||
this.journalLastCommitted = this.journalLastUncommitted = -1;
|
||||
if ( pageStoreJunkyard.length < pageStoreJunkyardMax ) {
|
||||
pageStoreJunkyard.push(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user