/
| 180 | |
| 181 | /*****************************************************************************/ |
| 182 | void proj_cleanup() { |
| 183 | /*****************************************************************************/ |
| 184 | |
| 185 | // Close the database context of the default PJ_CONTEXT |
| 186 | auto cpp_context = pj_get_default_ctx()->cpp_context; |
| 187 | if( cpp_context ) { |
| 188 | cpp_context->closeDb(); |
| 189 | } |
| 190 | |
| 191 | pj_clear_initcache(); |
| 192 | FileManager::clearMemoryCache(); |
| 193 | pj_clear_hgridshift_knowngrids_cache(); |
| 194 | pj_clear_vgridshift_knowngrids_cache(); |
| 195 | pj_clear_sqlite_cache(); |
| 196 | } |
nothing calls this directly
no test coverage detected