Fixed bugs in CCClient, added missing delete/desttructors for restart
This commit is contained in:
parent
5c065a8e48
commit
2b97e2f4ff
17 changed files with 194 additions and 110 deletions
|
@ -43,21 +43,23 @@ public:
|
|||
App(int argc, char **argv);
|
||||
~App();
|
||||
|
||||
int exec();
|
||||
int start();
|
||||
|
||||
static void reloadConfig();
|
||||
static void restart();
|
||||
|
||||
protected:
|
||||
void onConsoleCommand(char command) override;
|
||||
|
||||
private:
|
||||
void background();
|
||||
void close();
|
||||
void stop(bool restart);
|
||||
|
||||
static void onSignal(uv_signal_t *handle, int signum);
|
||||
|
||||
static App *m_self;
|
||||
|
||||
bool m_restart;
|
||||
|
||||
Console *m_console;
|
||||
Httpd *m_httpd;
|
||||
Network *m_network;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue