From: John Wolfe Date: Mon, 9 Nov 2020 20:29:03 +0000 (-0800) Subject: Common source file change not applicable to open-vm-tools. X-Git-Tag: stable-11.3.0~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807af42f5574a933d7e45c627e2537f1137c1e47;p=thirdparty%2Fopen-vm-tools.git Common source file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/services/vmtoolsd/mainLoop.c b/open-vm-tools/services/vmtoolsd/mainLoop.c index e05f82ffe..79533d77b 100644 --- a/open-vm-tools/services/vmtoolsd/mainLoop.c +++ b/open-vm-tools/services/vmtoolsd/mainLoop.c @@ -48,6 +48,7 @@ # include "codeset.h" # include "guestStoreClient.h" # include "globalConfig.h" +# include "toolsNotify.h" # include "windowsu.h" #else # include "posix.h" @@ -115,6 +116,9 @@ ToolsCoreCleanup(ToolsServiceState *state) if (state->mainService && GuestStoreClient_DeInit()) { g_info("%s: De-initialized GuestStore client.\n", __FUNCTION__); } + if (state->mainService && ToolsNotify_End()) { + g_info("%s: End Tools notifications.\n", __FUNCTION__); + } #endif if (state->ctx.rpc != NULL) { @@ -494,6 +498,12 @@ ToolsCoreRunLoop(ToolsServiceState *state) g_info("%s: Successfully started tools hang detector", __FUNCTION__); } +#if defined(_WIN32) + if (ToolsNotify_Start(&state->ctx)) { + g_info("%s: Successfully started tools notifications", + __FUNCTION__); + } +#endif } #if defined(_WIN32)