Opened 22 months ago

Last modified 5 weeks ago

#6254 new change

Fix potential race conditions

Reported by: asmirnov Assignee:
Priority: P2 Milestone:
Module: Adblock-Plus-for-Chromium Keywords:
Cc: Blocked By:
Blocking: Platform: Android
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):



We should take care about concurrency. Let's say in background threads (see we check for filterEnginePtr to be not null. If it's not we continue working with it. But it can be released actually but setting null from java side to c++ not yet sent/received:

FilterEngine is mostly accessed from background but creating/releasing happens in main thread.

What to change

We need to change the way "don't use it anymore" notifications is sent or prevent filter engine from actual disposing until it not needed anymore.

Change History (2)

comment:1 Changed 4 months ago by elimitix


Last edited 5 weeks ago by kzar (previous) (diff)

comment:2 Changed 3 months ago by slotxo777

สล็อตออนไลน์ live22 ฟรีเครดิต

Version 0, edited 3 months ago by slotxo777 (next)
Note: See TracTickets for help on using tickets.