mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Don't actually remove deleted entries from m_entries. (#239)
Doing so invalidates entry instance handles. Fixes #238.
This commit is contained in:
@@ -221,8 +221,8 @@ class Storage : public IStorage {
|
||||
std::unique_lock<std::mutex>& lock, bool local);
|
||||
void SetEntryFlagsImpl(Entry* entry, unsigned int flags,
|
||||
std::unique_lock<std::mutex>& lock, bool local);
|
||||
void DeleteEntryImpl(Entry* entry, EntriesMap::iterator it,
|
||||
std::unique_lock<std::mutex>& lock, bool local);
|
||||
void DeleteEntryImpl(Entry* entry, std::unique_lock<std::mutex>& lock,
|
||||
bool local);
|
||||
|
||||
// Must be called with m_mutex held
|
||||
template <typename F>
|
||||
|
||||
Reference in New Issue
Block a user