Skip to content

[Bug] RecursionError: maximum recursion depth exceeded on LCU disconnect/shutdown #35

@racoonius-programmer

Description

@racoonius-programmer

The application crashes with a RecursionError when the League Client UX (LCU) disconnects and the app attempts to cancel its 10-second shutdown timer. This happened after the LoL Client was active, it detected the RPC for a second on the lobby (showing pfp as status) and then crashed.

Here is the specific error on the log file:

2026-05-06 00:33:57,581 - asyncio - ERROR - Exception in callback Task.__wakeup(<Future finis...81860351562'}>)
handle: <Handle Task.__wakeup(<Future finis...81860351562'}>)>
Traceback (most recent call last):
  File "asyncio\events.py", line 88, in _run
  File "asyncio\tasks.py", line 396, in __wakeup
  File "asyncio\tasks.py", line 303, in __step
  File "asyncio\tasks.py", line 355, in __step_run_and_handle_result
  File "asyncio\tasks.py", line 242, in cancel
  File "asyncio\tasks.py", line 242, in cancel
  File "asyncio\tasks.py", line 242, in cancel
  [Previous line repeated 988 more times]
  File "asyncio\tasks.py", line 232, in cancel
RecursionError: maximum recursion depth exceeded

Full Log file:
session.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions