Project

General

Profile

Possible to exit() a wt application?

Added by prest1ge c0ding over 8 years ago

Hello community.

I am not sure if i have a bug inside my wt-application or witty does not support the c exit() method.

I want to fully exit my application and currently i am trying to call 'exit (0)' but i get a segmentation fault.

I know there is WApplication::quit() method but this will not really stop / exit (close) the application.

If i hit F5 it will reload the application. But i fully want to stop within its terminal where it is running on.

Debian 8.2 Jessie - Linux 3.16-amd64 - wt-3.3.4


Replies (1)

RE: Possible to exit() a wt application? - Added by prest1ge c0ding over 8 years ago

Ok, i can answer the question a bit by myself...

First you need to stop the WServer like: WServer::instance() -> stop();

But it is still not possible to 'exit()' the application, why?

    (1-1/1)