message: Register library hook even if callback is NULL. Refs
diff: @@ -176,12 +176,12 @@ void LibraryHooks::RegisterFunctionHook(const char *libraryName, const FunctionH
  void LibraryHooks::RegisterLibraryHook(char const *name, FunctionLoadCallback cb)
  {
  - if(cb == NULL)
  - return;
  -
  SCOPED_LOCK(libLock);
  +
  if(std::find(libraryHooks.begin(), libraryHooks.end(), name) == libraryHooks.end())
  libraryHooks.push_back(name);
  +
  + if(cb)
  libraryCallbacks[name].push_back(cb);
  }
  