Actions
Feature #393
closedShutdown application
Start date:
06/04/2010
Due date:
% Done:
0%
Estimated time:
Description
i am curious how one would go about shutting down a WT application. I mean exposing a button to terminate the app server, not merely navigating away. If WT will function as a GUI for local apps it will need the ability to exit cleanly the GUI and the server.
Thank you.
Si1ver1ock
Updated by Koen Deforche almost 14 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
Have you seen the quit() function? This forces a session to be disposed (cleanly). If you want to control shutdown of the server itself you can instantiate WServer instead of using WRun().
See:
- http://webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#5231d54ed34982f4366058eb6440c8f7
- http://webtoolkit.eu/wt/doc/reference/html/classWt_1_1WServer.html
Regards,
koen
Updated by Pieter Libin over 13 years ago
- Status changed from Resolved to Closed
Actions