Regression: Wait for unmount to delete database after logout (#489)
This commit is contained in:
parent
a91d6af492
commit
f8b402e505
|
@ -496,7 +496,7 @@ const RocketChat = {
|
|||
AsyncStorage.removeItem(`${ TOKEN_KEY }-${ server }`);
|
||||
setTimeout(() => {
|
||||
database.deleteAll();
|
||||
}, 300);
|
||||
}, 1000);
|
||||
},
|
||||
disconnect() {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue