Eel icon indicating copy to clipboard operation
Eel copied to clipboard

Main application closes when eel web page is refreshed

Open WillianGuerreiroColares opened this issue 3 years ago • 1 comments

Main application is supported by flask. EEL Thread is started and web page pop-ups.Everything goes fine until user refresh eel web page. In this moment, main application stops.

import a import b import flask

def gui(): eel.start('index.html', size=(454, 440), port=8000, close_callback=close_callback, cmdline_args=['--disable-translate'])

eel.init('web')

#Flask app started ... app. run()

Thread(target=gui, daemon=True).start()

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser : Chrome
  • Version : N/A

WillianGuerreiroColares avatar Apr 02 '22 21:04 WillianGuerreiroColares

I have the same problem, I have almost resolved it using shutdown_delay, but it only works on Linux (for me).

Anyway, how have you fixed?

nricciardi avatar May 29 '23 08:05 nricciardi