Skip to content

Commit 85af71e

Browse files
authored
[csolution-rpc] Load all installed pack versions (#1246)
1 parent a000dbf commit 85af71e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/projmgr/src/ProjMgrRpcServer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ RpcArgs::UsedItems RpcHandler::GetUsedItems(const string& context) {
208208
}
209209

210210
bool RpcHandler::LoadPacks(void) {
211+
m_worker.SetLoadPacksPolicy(LoadPacksPolicy::ALL);
211212
m_packsLoaded = m_worker.LoadPacks(m_globalContext);
213+
m_worker.SetLoadPacksPolicy(LoadPacksPolicy::DEFAULT);
212214
if (!m_packsLoaded) {
213215
throw JsonRpcException(PACKS_LOADING_FAIL, "packs failed to load");
214216
}

0 commit comments

Comments
 (0)