mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 13:10:19 +00:00
matklad nikomatsakis
This commit is contained in:
parent
83b2f40ca2
commit
006848a8cc
2 changed files with 1 additions and 6 deletions
|
@ -510,11 +510,6 @@ where
|
||||||
{
|
{
|
||||||
self.storage.purge();
|
self.storage.purge();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)] // FIXME
|
|
||||||
pub(crate) fn cycle_recovery_strategy(&self) -> plumbing::CycleRecoveryStrategy {
|
|
||||||
Q::Storage::CYCLE_STRATEGY
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return value from [the `query_mut` method] on `Database`.
|
/// Return value from [the `query_mut` method] on `Database`.
|
||||||
|
|
|
@ -141,7 +141,7 @@ impl DependencyGraph {
|
||||||
) -> (QueryStack, WaitResult) {
|
) -> (QueryStack, WaitResult) {
|
||||||
me.add_edge(from_id, database_key, to_id, from_stack);
|
me.add_edge(from_id, database_key, to_id, from_stack);
|
||||||
|
|
||||||
// Release the mut&mut meex that prevents `database_key`
|
// Release the mutex that prevents `database_key`
|
||||||
// from completing, now that the edge has been added.
|
// from completing, now that the edge has been added.
|
||||||
drop(query_mutex_guard);
|
drop(query_mutex_guard);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue