python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

WinError 10048 - socket doesn't close #562

Closed st1np closed 2 years ago

st1np commented 2 years ago

Describe the problem I built my application with pyinstaller --onefile and --noconsole, but when I first open the build program it opens socket 8000 and doesn't close anymore without me forcing by taskkill, causing error later when opening again, the what can i do so that when i close the app, it closes the socket too? this problem of not closing the socket only occurs with the built application!

Code snippet(s) Error WinError 10048 when I open the app for the second time: image

code: image

socket opened: image

written with google translate