MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / close

Method close

Libraries/Plugin/Plugin.cpp:867–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867SC::Result SC::PluginRegistry::close()
868{
869 Result result(true);
870 for (size_t idx = 0; idx < getNumberOfEntries(); ++idx)
871 {
872 // TODO: Investigate why releasing debugger PDB handles through Restart Manager can take
873 // several seconds when exiting SCExample under VSCode on a Parallels shared folder.
874 // Final process shutdown does not need it, but explicit unload/reload still does.
875 Result res = unloadPlugin(getIdentifierAt(idx).view(), false);
876 if (not res)
877 {
878 // We still want to continue unload all plugins
879 result = res;
880 }
881 }
882 return result;
883}
884
885SC::Result SC::PluginRegistry::replaceDefinitions(Span<PluginDefinition>&& definitions)
886{

Callers 2

unloadMethod · 0.45
launchMethod · 0.45

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected