update object, object update lock and rare crash

This commit is contained in:
Green Sky
2024-12-13 01:30:03 +01:00
parent eb169b2779
commit 78390dd342
2 changed files with 22 additions and 3 deletions

View File

@@ -37,6 +37,8 @@ class SHA1_NGCFT1 : public ToxEventI, public RegistryMessageModelEventI, public
Backends::SHA1MappedFilesystem _mfb;
bool _object_update_lock {false};
std::minstd_rand _rng {1337*11};
using clock = std::chrono::steady_clock;