develop #11

Merged
itdominator merged 36 commits from develop into master 2023-09-19 01:11:24 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 6e3bf63465 - Show all commits

View File

@ -1,9 +1,11 @@
# Python imports # Python imports
import os, threading, time import os
import time
from multiprocessing.connection import Client from multiprocessing.connection import Client
from multiprocessing.connection import Listener from multiprocessing.connection import Listener
# Lib imports # Lib imports
from gi.repository import GLib
# Application imports # Application imports
@ -56,7 +58,7 @@ class IPCServer:
while True: while True:
conn = listener.accept() conn = listener.accept()
start_time = time.perf_counter() start_time = time.perf_counter()
self._handle_ipc_message(conn, start_time) GLib.idle_add(self._handle_ipc_message, *(conn, start_time,))
listener.close() listener.close()