Normal exiting conditions should not yield warning

pull/173/head
Andri Yngvason 2022-10-29 15:11:28 +00:00
parent e9ee4e644c
commit 8bf505749c
1 changed files with 3 additions and 1 deletions

View File

@ -426,7 +426,7 @@ void wayvnc_exit(struct wayvnc* self)
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);
wayvnc_exit(self);
}
@ -1148,6 +1148,8 @@ int main(int argc, char* argv[])
aml_dispatch(aml);
}
nvnc_log(NVNC_LOG_INFO, "Exiting...");
screencopy_stop(&self.screencopy);
nvnc_display_unref(self.nvnc_display);