forked from lix-project/lix
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;
|
ThreadPool pool;
|
||||||
|
|
||||||
auto doQuery = [&](const Path & path ) {
|
auto doQuery = [&](const Path & path ) {
|
||||||
|
checkInterrupt();
|
||||||
queryPathInfo(path,
|
queryPathInfo(path,
|
||||||
[path, &state_, &wakeup](ref<ValidPathInfo> info) {
|
[path, &state_, &wakeup](ref<ValidPathInfo> info) {
|
||||||
auto state(state_.lock());
|
auto state(state_.lock());
|
||||||
|
|
Loading…
Reference in a new issue