dbghelp: Removed call to registered callback when unloading a module.

First, native dbghelp doesn't do it, and it crashed windbg, likely
because we got the undocumented arguments wrong.
oldstable
Eric Pouech 2006-05-10 21:35:47 +02:00 committed by Alexandre Julliard
parent c25d3ac7d5
commit 2a1d8efde4
1 changed files with 3 additions and 3 deletions

View File

@ -520,9 +520,9 @@ BOOL module_remove(struct process* pcs, struct module* module)
HeapFree(GetProcessHeap(), 0, (char*)module->sources);
HeapFree(GetProcessHeap(), 0, module->addr_sorttab);
pool_destroy(&module->pool);
if (module->module.SymType != SymNone)
pcs_callback(pcs, CBA_SYMBOLS_UNLOADED, NULL);
/* native dbghelp doesn't invoke registered callback(,CBA_SYMBOLS_UNLOADED,) here
* so do we
*/
for (p = &pcs->lmodules; *p; p = &(*p)->next)
{
if (*p == module)