Listeners aren't cleared anymore when clearing UserStore, but all

listeners are informed about removal of all preference objects.
This commit is contained in:
Steffen Schaefer committed 2016-07-19 11:24:20 +02:00
1 parent 52eea75f26
commit 8e59b48216
2 files changed
+18 -2

No files matched your search

@@ -130,6 +130,7 @@ public interface UserStore extends Named {
/**
* Removes all users and all their preferences and all settings from this store's in-memory representation.
* For safety reasons and because a replica's DB state is undefined anyhow, leaves persistent content in place.
* Registered listeners will not be removed automatically.
* Use with due care.
*/
void clear();