profile io: reset notify count

This fixes 100% cpu usage on that thread
This commit is contained in:
Moritz Zwerger 2023-11-21 23:35:18 +01:00
parent 19ad5e4ece
commit 901de32766
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -40,6 +40,7 @@ object ProfileIOManager {
private fun observe() {
lock.lock()
notify.count = 0
ignoreAll { delete() }
ignoreAll { save() }
ignoreAll { reload() }