You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is because the computation of the account size takes a few seconds, maybe display "..." or "--" there and make the core API call in a thread to load dynamically? what will happen if user click "delete" button and the API call didn't returned yet?? (cc @link2xt)
other option would be not to display the account size, but it is nicer to know
The text was updated successfully, but these errors were encountered:
get_account_file_size() (if it's what is used) can fail, but nothing else should happen (i.e. it shouldn't deadlock or so). Still, it makes sense to wait when it finishes before closing the dialog window.
It is fine to remove the account even without waiting for get_account_file_size to return. It should not interfere with removing an account on Linux/Android. Size calculation may fail if you are quick enough and remove the database before get_account_file_size gets to it, so ignore any errors.
Unlike Windows, Linux may only fail to delete files if they are backing executable part of the running process, but we don't execute anything from the account folder. This is actually fixed in recent Linux 6.11 (https://lwn.net/Articles/866493/), but Android will take forever to upgrade, so it's just a fun fact.
this is because the computation of the account size takes a few seconds, maybe display "..." or "--" there and make the core API call in a thread to load dynamically? what will happen if user click "delete" button and the API call didn't returned yet?? (cc @link2xt)
other option would be not to display the account size, but it is nicer to know
The text was updated successfully, but these errors were encountered: