MCPcopy Create free account
hub / github.com/apache/trafficserver / ~Instance

Method ~Instance

include/cripts/Instance.hpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 // This has to be in the .hpp file, otherwise we will not get the correct debug tag!
47 Instance(int argc, const char *argv[], bool remap = true) { _initialize(argc, argv, __BASE_FILE__, remap); }
48 ~Instance()
49 {
50 plugins.clear();
51
52 for (auto &bundle : bundles) {
53 delete bundle;
54 }
55 }
56
57 bool AddPlugin(const cripts::string &tag, const cripts::string &plugin, const Plugin::Options &options);
58 bool DeletePlugin(const cripts::string &tag);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected