Write-lock when refiltering

This commit is contained in:
miruka 2020-05-06 13:47:28 -04:00
parent c502aa4245
commit 0e49b5f972
2 changed files with 15 additions and 13 deletions

View File

@ -11,6 +11,7 @@
- fix left rooms opacity
- fix escape keybinds (filter rooms, message selection)
- fix nio 429
- fix python getting stuck when loading large room
- account delegates refactor
- lag when switching accounts

View File

@ -55,6 +55,7 @@ class ModelFilter(ModelProxy):
def refilter(self) -> None:
with self._write_lock:
take_out = []
bring_back = []