Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
471
void destroy() {
472
for (auto& pair : drivers) {
473
delete pair.second;
474
}
475
drivers.clear();
476
}
477
478
void addDriver(int driverId, Driver* driver) {
479
assert(driver);
Callers
1
main
Function · 0.50
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected