Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a TODO.
  • Loading branch information
ericsnowcurrently committed Jul 19, 2023
commit a6f6c0cc165b1aa976ac133adc3bd0b647bb46a9
2 changes: 2 additions & 0 deletions Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -3055,6 +3055,8 @@ void
_PyImport_Fini(void)
{
/* Destroy the database used by _PyImport_{Fixup,Find}Extension */
// XXX Should we actually leave them (mostly) intact, since we don't
// ever dlclose() the module files?
_extensions_cache_clear_all();

/* Use the same memory allocator as _PyImport_Init(). */
Expand Down