--
v5: win32u: Read extra class info from the shared memory object.
server: Move extra class info to the shared memory object.
server: Allocate shared memory objects with dynamic size.
win32u: Read class info from the shared memory object.
server: Move class info to the shared memory object.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8976
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.
* * *
Superceded !8270
--
v3: mf: Add a SUBMITTED command state to avoid multiple submission of the same op.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8722