MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / ~PluginCreatorRegistry

Method ~PluginCreatorRegistry

plugin/api/inferPlugin.cpp:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 ~PluginCreatorRegistry()
143 {
144 std::lock_guard<std::mutex> lock(mRegistryLock);
145
146 // Release pluginCreators in LIFO order of registration.
147 while (!mRegistry.empty())
148 {
149 mRegistry.pop();
150 }
151 mRegistryList.clear();
152 }
153
154private:
155 PluginCreatorRegistry() {}

Callers

nothing calls this directly

Calls 3

popMethod · 0.80
emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected