MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / ~REFPROPMixtureBackend

Method ~REFPROPMixtureBackend

src/Backends/REFPROP/REFPROPMixtureBackend.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220REFPROPMixtureBackend::~REFPROPMixtureBackend() {
221 // Decrement the counter for the number of instances
222 REFPROPMixtureBackend::instance_counter--;
223 // Unload the shared library when the last instance is about to be destroyed
224 if (REFPROPMixtureBackend::instance_counter == 0) {
225 force_unload_REFPROP();
226 }
227}
228void REFPROPMixtureBackend::check_loaded_fluid() {
229 this->set_REFPROP_fluids(this->fluid_names);
230}

Callers

nothing calls this directly

Calls 1

force_unload_REFPROPFunction · 0.85

Tested by

no test coverage detected