On Tue Feb 20 16:58:54 2024 +0000, Rémi Bernon wrote:
changed this line in [version 20 of the diff](/wine/wine/-/merge_requests/3103/diffs?diff_id=100722&start_sha=b4491ba1cbd02d0f365a22bee2f2f2b97631725b#35a0b3c4868b938764504464c7e3891ad9581e77_146_168)
I know we don't consistently do these checks and that they are not really useful, but I prefer to (either that or assert, I don't mind but I believe we rarely do assert).
Anyway I think it's addressed now. I've also simplified the code by handling all object types in a unique `struct session_object` structure. Makes it necessary to access the shared data through the session object union, which may be more sensitive to typos, but it's less code.