MCPcopy Create free account
hub / github.com/acl-dev/acl / free_slots

Method free_slots

lib_acl_cpp/src/redis/redis_cluster.cpp:626–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626void redis_cluster::free_slots()
627{
628 std::vector<redis_slot*>::iterator it;
629 for (it = slots_.begin(); it != slots_.end(); ++it) {
630 delete *it;
631 }
632 slots_.clear();
633}
634
635//////////////////////////////////////////////////////////////////////////
636

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected