Regression: Wait for unmount to delete database after logout (#489)

This commit is contained in:
Diego Mello 2018-10-17 09:31:24 -03:00 committed by GitHub
parent a91d6af492
commit f8b402e505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ const RocketChat = {
AsyncStorage.removeItem(`${ TOKEN_KEY }-${ server }`);
setTimeout(() => {
database.deleteAll();
}, 300);
}, 1000);
},
disconnect() {
try {