sousa-andre / lcu-driver

🐍 Python3 interface for League of Legends Client API
MIT License
114 stars 15 forks source link

connector.close() example #20

Closed kurtisdavid closed 2 years ago

kurtisdavid commented 3 years ago

I'm trying out the following example: https://lcu-driver.readthedocs.io/en/latest/examples.html#change-summoner-icon

It updates my summoner-icon but the script immediately ends while the client is still open. Is this expected behavior?

sousa-andre commented 3 years ago

That behavior is expected. The library only waits for the client to be closed if you subscibe to at least one websocket event just like this example. If you believe the library should have a different behavior please let me know.