Terminate application [CLOSED]

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
h_kos
Posts: 11
Joined: Wed Oct 28, 2015 11:30 pm

Terminate application [CLOSED]

Postby h_kos » Thu Oct 29, 2015 12:37 am

Is there a way to terminate the application?

Environment.Exit(...) is not supported (Beta 5.1).

Is there a way to achieve this?

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Terminate application

Postby JS-Support @Userware » Thu Oct 29, 2015 8:24 am

Hello,

As the application is supposed to run in the web browser (and/or on mobile devices where apps cannot close themselves, such as iOS/Android/...), can you please elaborate on what behavior would you expect Environment.Exit(...) to have?

Please note that it is not possible for the browser page to "close itself" due to web browser security restrictions (the general rule appears to be that "javascript is not allowed to close a window that was not opened by that same javascript").

Thanks,
Regards,
JS-Support

h_kos
Posts: 11
Joined: Wed Oct 28, 2015 11:30 pm

Re: Terminate application

Postby h_kos » Thu Oct 29, 2015 11:22 pm

Hi,
thank you for your fast reply. From your point of view your explanation makes sense to me and I understand.
Closing the app (i.e. the browser page) would just be desireable to give the user the feeling of a real mobile app,
but this can be argued away :)


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 25 guests

 

 

cron