mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2026-09-23 16:00:48 +02:00
Fix: resolve 5 confirmed bugs (imwrite_unicode, macOS memory, face_analyser None crash, silent sys.exit, core memory calc)
This commit is contained in:
@@ -171,8 +171,6 @@ def limit_resources() -> None:
|
||||
# limit memory usage
|
||||
if modules.globals.max_memory:
|
||||
memory = modules.globals.max_memory * 1024 ** 3
|
||||
if platform.system().lower() == 'darwin':
|
||||
memory = modules.globals.max_memory * 1024 ** 6
|
||||
if platform.system().lower() == 'windows':
|
||||
import ctypes
|
||||
kernel32 = ctypes.windll.kernel32
|
||||
|
||||
Reference in New Issue
Block a user