https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
r

Roman

11/30/2018, 7:05 AM
Hello, i have some trouble with config consistent. When i'm login i write into my config file
Copy code
with(config) {
            set("token", account.token)
            set("point_name", account.pointName)
            save()
        }
and all ok, but when i'm press logout button with this code
Copy code
with(config) {
            remove("token")
            remove("point_name")
            save()
        }
and then login again i found that in my config store old data (account instance is updating)