Need to make sure that rdf_BlockingParse calls back to observers before and after doing the parse.
Guess who else run into this..
Edge case... It is perhaps worth including a null-check, "if (obs)", for the case where some observers remove themselves, causing the for-loop to be out of sync and to go out of bounds.
But looking again, it seems things are sufficiently safe because the loop goes in decreasing order... So if the i-th observer removes itself upon receiving its notification and the array is compacted from the tail, then the (i-1)-first index will still be pointing to the next...
dougt: incorporated your feedback... 1. Updated C-style casts 2. You're right: should always call OnEndLoad().
Fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.