Relates :
|
|
Relates :
|
The MDO has an extra_data_lock. When we perform class unloading, the memory of the MDO is reclaimed, but no destructor is run. Therefore, the destructor of the extra_data_lock isn't run either. Therefore, on platforms that need to run the destructor to avoid leaks, such as macOS, will suffer from a memory leak.
|