diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-28 11:53:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-28 11:53:15 +0300 |
commit | fa9dcf5704f1eb4b6632279d80fdd930db73db69 (patch) | |
tree | ec1cccaea43a70915c8940678f5a9fe2b37aece9 /bdep/sync.hxx | |
parent | 33a9da54e51d674f0dfe00761e89aac4fd4feeb5 (diff) |
Fix 'already used by another process' error on deinit
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r-- | bdep/sync.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx index f951a40..f71fd12 100644 --- a/bdep/sync.hxx +++ b/bdep/sync.hxx @@ -155,11 +155,19 @@ namespace bdep // specified configuration with their project directory repository being // masked. // + // Note that it is not very likely but still possible that the + // deinitialization of a package may end up with associating new + // configurations with the project. Think of deorphaning a package, which + // has been replaced with another version that got some new build-time + // dependency. + // void cmd_sync_deinit (const common_options&, const dir_path& prj, const shared_ptr<configuration>&, - const strings& pkgs); + const strings& pkgs, + transaction* = nullptr, + vector<pair<dir_path, string>>* created_cfgs = nullptr); int cmd_sync (cmd_sync_options&&, cli::group_scanner& args); |