aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-28 11:53:15 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-28 11:53:15 +0300
commitfa9dcf5704f1eb4b6632279d80fdd930db73db69 (patch)
treeec1cccaea43a70915c8940678f5a9fe2b37aece9 /bdep/sync.cxx
parent33a9da54e51d674f0dfe00761e89aac4fd4feeb5 (diff)
Fix 'already used by another process' error on deinit
Diffstat (limited to 'bdep/sync.cxx')
-rw-r--r--bdep/sync.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 77135fd..295b46f 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -2385,7 +2385,9 @@ namespace bdep
cmd_sync_deinit (const common_options& co,
const dir_path& prj,
const shared_ptr<configuration>& cfg,
- const strings& pkgs)
+ const strings& pkgs,
+ transaction* origin_tr,
+ vector<pair<dir_path, string>>* created_cfgs)
{
sync_configs ocfgs {cfg};
linked_configs lcfgs (find_config_cluster (co, cfg->path));
@@ -2407,7 +2409,9 @@ namespace bdep
pkgs,
sys_options (),
false /* create_host_config */,
- false /* create_build2_config */);
+ false /* create_build2_config */,
+ origin_tr,
+ created_cfgs);
}
int