We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59a5b3 commit 5fcc3bbCopy full SHA for 5fcc3bb
core/sector_storage/stores/impl/index_lock.cpp
@@ -66,9 +66,10 @@ namespace fc::sector_storage::stores {
66
}
67
sector.write = static_cast<SectorFileType>(sector.write & ~lock.write);
68
--sector.refs;
69
+ sector.cv.notify_all();
70
+ sector_lock.unlock();
71
if (!sector.refs) {
72
sectors.erase(lock.sector);
73
- sector.cv.notify_all();
74
75
} // namespace fc::sector_storage::stores
0 commit comments