MCPcopy Create free account
hub / github.com/VCVRack/Rack / destroy

Function destroy

src/midi.cpp:471–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471void destroy() {
472 for (auto& pair : drivers) {
473 delete pair.second;
474 }
475 drivers.clear();
476}
477
478void addDriver(int driverId, Driver* driver) {
479 assert(driver);

Callers 1

mainFunction · 0.50

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected