ntdll: detach modules based on inter-module dependencies (try 2)

Alexandre Julliard julliard at winehq.org
Mon Dec 3 05:07:27 CST 2007


"Lei Zhang" <thestig at google.com> writes:

> This patch changes how process_detach() works when called with
> bForceDetach set to TRUE. A module would get detached when that module
> has no dependencies. After a module gets detached, process_detach()
> scans through all the modules and update their dependencies. I'm
> assuming there's no circular dependencies between modules.

You can't assume that, some modules do have circular dependencies. My
suspicion is that this bug should be fixed in winmm, but either way
you'll need to show some test cases.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list