The JS beforeunload event is captured to gracefully close the app including the backend/executable. While one could capture the F5 key, a context menu refresh would still gracefully close the app.
I decided to accept an "user-unexpected" close rather than risking to leave processes behind in the user system that would block a port and system memory.
The JS beforeunload event is captured to gracefully close the app including the backend/executable. While one could capture the F5 key, a context menu refresh would still gracefully close the app.
I decided to accept an "user-unexpected" close rather than risking to leave processes behind in the user system that would block a port and system memory.