fix: do a snapshot state reset atomically (#317)
Description
Do a snapshot state reset atomically to avoid the moment when the DLE does not have a snapshot
Related issue
Examples
Checklist
-
the MR description has been reviewed -
this MR contains text changes and they have been reviewed OR there are no texts changes -
this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes -
this MR contains API changes, specifications reflect those changes and they have been reviewed OR there are no API changes
Closes #317 (closed)
Edited by Artyom Kartasov