Describe the bug
When a custom_callback function is defined on start and some link or button tag is clicked, the close_callback is called and the _websockets list is always empty, so the application is terminated.
To Reproduce
Steps to reproduce the behavior:
Get the hello world example
Put a <a href=“Click me”> anywhere
Define a close callback function:
def close_callback(route, websockets):
print(websockets)
if not websockets:
exit()
Expected behavior
Clicking on anchor links or buttons shouldn’t send a close_callback.
Eel version 0.14.0
Describe the bug When a custom_callback function is defined on start and some link or button tag is clicked, the close_callback is called and the _websockets list is always empty, so the application is terminated.
To Reproduce Steps to reproduce the behavior:
Expected behavior Clicking on anchor links or buttons shouldn’t send a close_callback.
Desktop: