Normal exiting conditions should not yield warning
parent
e9ee4e644c
commit
8bf505749c
|
@ -426,7 +426,7 @@ void wayvnc_exit(struct wayvnc* self)
|
||||||
|
|
||||||
void on_signal(void* obj)
|
void on_signal(void* obj)
|
||||||
{
|
{
|
||||||
nvnc_log(NVNC_LOG_WARNING, "Received termination signal. Shutting down.");
|
nvnc_log(NVNC_LOG_INFO, "Received termination signal.");
|
||||||
struct wayvnc* self = aml_get_userdata(obj);
|
struct wayvnc* self = aml_get_userdata(obj);
|
||||||
wayvnc_exit(self);
|
wayvnc_exit(self);
|
||||||
}
|
}
|
||||||
|
@ -1148,6 +1148,8 @@ int main(int argc, char* argv[])
|
||||||
aml_dispatch(aml);
|
aml_dispatch(aml);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nvnc_log(NVNC_LOG_INFO, "Exiting...");
|
||||||
|
|
||||||
screencopy_stop(&self.screencopy);
|
screencopy_stop(&self.screencopy);
|
||||||
|
|
||||||
nvnc_display_unref(self.nvnc_display);
|
nvnc_display_unref(self.nvnc_display);
|
||||||
|
|
Loading…
Reference in New Issue