From f814c64fc110a1d2c6b1fb4aec6f8b16778058b6 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 20 Mar 2023 22:30:50 +0800 Subject: improve to wait installing #3535 --- xmake/modules/private/action/require/impl/install_packages.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index ab5b937ab..f126445e4 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -537,6 +537,11 @@ function _install_packages(packages_install, packages_download, installdeps) table.insert(downloading, instance:displayname()) end end + -- we just return it directly if no thing is waited + -- @see https://github.com/xmake-io/xmake/issues/3535 + if #installing == 0 and #downloading == 0 then + return + end -- get waitobjs tips local tips = nil -- cgit v1.3.1