MCPcopy Create free account
hub / github.com/Kitware/VTK / proj_cleanup

Function proj_cleanup

ThirdParty/libproj/vtklibproj/src/malloc.cpp:182–196  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

180
181/*****************************************************************************/
182void 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}

Callers

nothing calls this directly

Calls 5

pj_get_default_ctxFunction · 0.85
pj_clear_initcacheFunction · 0.85
pj_clear_sqlite_cacheFunction · 0.85

Tested by

no test coverage detected