code: def _notify_unload_dll(self, event):
          
          lpBaseOfDll = event.get_module_base()
  ##        if self.has_module(lpBaseOfDll):  # XXX this would trigger a scan
          if lpBaseOfDll in self.__moduleDict:
              self._del_module(lpBaseOfDll)
          return True
docs: Notify the release of a loaded module.
  
          This is done automatically by the L{Debug} class, you shouldn't need
          to call it yourself.
  
          @type  event: L{UnloadDLLEvent}
          @param event: Unload DLL event.
  
          @rtype:  bool
          @return: C{True} to call the user-defined handle, C{False} otherwise.