This commit is contained in:
doctorpangloss 2025-10-23 19:49:59 -07:00
parent 058e5dc634
commit 607fcf7321

View File

@ -651,6 +651,7 @@ def trim_memory() -> bool:
try:
if sys.platform.startswith('linux'):
import ctypes
import ctypes.util
libc_path = ctypes.util.find_library('c')
if not libc_path:
return False