[Git][wine/wine][master] mf: Add a SUBMITTED command state to avoid multiple submission of the same op.
Alexandre Julliard pushed to branch master at wine / wine Commits: 85f5ab75 by Yuxuan Shui at 2025-10-03T12:35:29+02:00 mf: Add a SUBMITTED command state to avoid multiple submission of the same op. If a session is shutdown when its command_state is already COMPLETE, session_handle_source_shutdown calls session_set_stopped, which calls session_command_complete which will submit the op at the head of commands again, despite it having already been submitted. Given that only the op at the head of commands can be in the submitted state, tracking it as a command state makes more sense to me. And if the command state is SUBMITTED we know not to submit the op again. - - - - - 1 changed file: - dlls/mf/session.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/85f5ab751a54f5d25abc392d690b794... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/85f5ab751a54f5d25abc392d690b794... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)