tappi287 / openvr_fsr_app

Management Gui for OpenVR FSR PlugIn
MIT License
397 stars 9 forks source link

App is gracefully closed when F5 is pressed #21

Closed azumukupoe closed 2 years ago

tappi287 commented 2 years ago

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.