| 218 | } |
| 219 | |
| 220 | REFPROPMixtureBackend::~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 | } |
| 228 | void REFPROPMixtureBackend::check_loaded_fluid() { |
| 229 | this->set_REFPROP_fluids(this->fluid_names); |
| 230 | } |
nothing calls this directly
no test coverage detected