respect SIGINT in nix copy during the paths queries #1629
This commit is contained in:
parent
54a2cd9ce4
commit
0f9a7225ab
|
@ -392,6 +392,7 @@ PathSet Store::queryValidPaths(const PathSet & paths, SubstituteFlag maybeSubsti
|
|||
ThreadPool pool;
|
||||
|
||||
auto doQuery = [&](const Path & path ) {
|
||||
checkInterrupt();
|
||||
queryPathInfo(path,
|
||||
[path, &state_, &wakeup](ref<ValidPathInfo> info) {
|
||||
auto state(state_.lock());
|
||||
|
|
Loading…
Reference in a new issue