mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Made remountRequired atomic to avoid concurrency issues.
This commit is contained in:
parent
ca1a108dad
commit
3a9fe1a085
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ private:
|
||||||
|
|
||||||
void remountIfNecessary();
|
void remountIfNecessary();
|
||||||
|
|
||||||
bool _remountRequired = false;
|
std::atomic_bool _remountRequired = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue