Jacek Caban (@jacek) commented about dlls/mshtml/mutation.c:
static void parse_complete(HTMLDocumentObj *doc) {
thread_data_t *thread_data;
TRACE("(%p)\n", doc);
if(!(thread_data = get_thread_data(TRUE)))
return;
thread_data->tasks_locked++;
Why is `parse_complete` special in this regards? It feels like hacking a symptom instead of root of the problem. Should we ever process tasks recursively?