Function class_loader::impl::unloadLibrary

Function Documentation

void class_loader::impl::unloadLibrary(const std::string &library_path, ClassLoader *loader)

Unloads a library if it loaded in memory and cleans up its corresponding class factories. If it is not loaded, the function has no effect.

Parameters:
  • library_path – - The name of the library to open

  • loader – - The pointer to the ClassLoader whose scope we are within