Rémi Bernon (@rbernon) commented about dlls/mf/session.c:
struct list *e; HRESULT hr;
- if (session->command_state == COMMAND_STATE_SUBMITTED) return;
This then shouldn't be necessary, the function should only ever be called with the proper command state.