Branch: Tag:

2017-11-05

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

741:    return 0;    }    -  protected void destroy(int cause) +  protected void _destruct(int cause)    {    // NB: Cause #0 == DESTRUCT_EXPLICIT.    // Any other cause and unregistering is irrelevant.
1094:    MON_WERR("Unregistering %O...\n", path);    if (wd != -1) {    // NB: instance may be null if the main object has been destructed -  // and we've been called via a destroy(). +  // and we've been called via a _destruct().    if (instance && dying) {    MON_WERR("### Unregistering from inotify.\n");    // NB: Inotify automatically removes watches for deleted files,
1194:    clear();   }    - protected void destroy() + protected void _destruct()   {    // Destruct monitors before we're destructed ourselves, since they    // will attempt to unregister with us.