Verified Commit df2b24eb authored by Jakob Moser's avatar Jakob Moser
Browse files

Add names for threads

parent 6538ebae
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for poolpay/__main__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ def launch_application() -> None:

def launch_application_as_daemon() -> None:
    logging.info("Launching main application as daemon thread")
    Thread(target=launch_application, daemon=True).start()
    Thread(target=launch_application, daemon=True, name="app").start()


logging.info("Creating wire.Server")
+1 −1
Changes for poolpay/touch/EvdevTouchScreen.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ class EvdevTouchScreen(TouchScreen):
                    case ecodes.EV_SYN:
                        handle_touch()

        Thread(target=listen, daemon=True).start()
        Thread(target=listen, daemon=True, name="touchscreen").start()

    def __enter__(self) -> Self:
        self._device.grab()