On Wed Oct 4 12:09:46 2023 +0000, Connor McAdams wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/4005/diffs?diff_id=73786&start_sha=60a1e1f775064ee8445a557926a34f1ed71c54d0#14d9c4bde8659a60721a64739d545cd66adf72c2_1031_1006)
Yeah, with a fresh set of eyes it was probably more complex than necessary. Mainly, I was trying to make sure the event thread was started so that WinEvents would be listened for, but there's really no need to start/stop the event thread separately.
I went ahead and tied the event thread starting to each HUIAEVENT that's created for a COM event handler, and got rid of the generic callback. It seems more clear this way.