Disable power saving for renderer processes

pull/450/head
nyanpasu64 2023-12-08 19:50:43 -08:00
rodzic b2ca2b2e89
commit 8f260609c2
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -194,6 +194,11 @@ class Arguments:
def worker_create_renderer(renderer_params: RendererParams, shmem_names: List[str]):
import appnope
# Disable power saving for renderer processes.
appnope.nope()
global WORKER_RENDERER
global SHMEMS