From 51654bcc90163e15731541662dc4307b0de9c9a5 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 2 Feb 2024 16:52:30 +0100 Subject: [PATCH] wait longer to get the contextual menu entries: may be necessary Signed-off-by: Matthieu Gallien --- shell_integration/windows/NCContextMenu/NCClientInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_integration/windows/NCContextMenu/NCClientInterface.cpp b/shell_integration/windows/NCContextMenu/NCClientInterface.cpp index 6db4a27c9a4a6..380f4e22291b2 100644 --- a/shell_integration/windows/NCContextMenu/NCClientInterface.cpp +++ b/shell_integration/windows/NCContextMenu/NCClientInterface.cpp @@ -48,7 +48,7 @@ NCClientInterface::ContextMenuInfo NCClientInterface::FetchInfo(const std::wstri ContextMenuInfo info; std::wstring response; int sleptCount = 0; - while (sleptCount < 5) { + while (sleptCount < 20) { if (socket.ReadLine(&response)) { if (StringUtil::begins_with(response, wstring(L"REGISTER_PATH:"))) { wstring responsePath = response.substr(14); // length of REGISTER_PATH