diff --git a/src/main.c b/src/main.c index 9cfe16f..e108725 100644 --- a/src/main.c +++ b/src/main.c @@ -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);