I tried setting all the parameters with options={...} however it was the same result
I tried removing @eel.expose however it was the same result
I tried making eel.start non-blocking then putting a while True: eel.sleep(10) after however it was the same result
I tried default parameters except for close_callback however it was the same result
I tried both python versions 3.7.8 and 3.8.1
I tried using a different browser (edge) however it was the same result
I tried building with PyInstaller but it had the same behaivior.
I tried on a Macbook Air Running OSX ver 10.15.5 and Python 3.7.4 (with py3.7-dev because I needed to install eel) and the same code.
Output upon ctrl+c the blocking code
Traceback (most recent call last):
File "C:\Python38\lib\site-packages\gevent\_ffi\loop.py", line 269, in python_check_callback
def python_check_callback(self, watcher_ptr): # pylint:disable=unused-argument
KeyboardInterrupt
2020-07-18T19:19:09Z
Information
OS: Windows 10 v10.0.19041 Build 19041 and macOS Catalina ver 10.15.5 (I tried both with different python installations and setups however it had the same problem)
Browser: Chrome v83.0.4103.116 and Edge v83.0.478.61
Python: Python v3.7.8, Python v3.7.4 (with dev headers) and Python v3.8.1 (I tried both)
Eel: Eel v0.13.2
Problem
eel.start()
keyword parameterclose_callback
is never called on window close, it is also never called when killing the process.Code
index.html
Folder Structure
What I've tried
I tried setting all the parameters with
options={...}
however it was the same result I tried removing@eel.expose
however it was the same result I tried makingeel.start
non-blocking then putting awhile True: eel.sleep(10)
after however it was the same result I tried default parameters except forclose_callback
however it was the same result I tried both python versions 3.7.8 and 3.8.1 I tried using a different browser (edge) however it was the same result I tried building with PyInstaller but it had the same behaivior. I tried on a Macbook Air Running OSX ver 10.15.5 and Python 3.7.4 (with py3.7-dev because I needed to install eel) and the same code.Output upon
ctrl+c
the blocking codeInformation
OS: Windows 10 v10.0.19041 Build 19041 and macOS Catalina ver 10.15.5 (I tried both with different python installations and setups however it had the same problem) Browser: Chrome v83.0.4103.116 and Edge v83.0.478.61 Python: Python v3.7.8, Python v3.7.4 (with dev headers) and Python v3.8.1 (I tried both) Eel: Eel v0.13.2