https://bugs.winehq.org/show_bug.cgi?id=40306
--- Comment #8 from Henri Verbeet hverbeet@gmail.com --- Created attachment 53963 --> https://bugs.winehq.org/attachment.cgi?id=53963 patch
(In reply to Aexander from comment #7)
The patch did fix the issue.
Right, that would be consistent with what Józef said. I don't know to what extent he has already debugged this, but the specific case I was concerned about is the one in context_apply_clear_state(). In that case the attached patch should also work.