16 Feb
2025
16 Feb
'25
5:47 p.m.
On Sun Feb 16 19:19:02 2025 +0000, Jacek Caban wrote:
Are you saying that the directed graph formed by D_dag_Nodes isn't acyclic? Yes (at least with the current implementation). Also, reference counts can only deal with acyclic (strong) references in nature. Yes, that's why we have the problem that I mentioned. Well, there's one problem: even if we don't call `process_attach` directly, it will still be called at the end of the module load via `walk_node_dependencies`. So I'm not sure how to go forward. Maybe move it (the `LDR_DONT_RESOLVE_REFS` check) into `process_attach` itself?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7#note_94854