Unverified Commit f8b402e5 authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

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

parent a91d6af4
......@@ -496,7 +496,7 @@ const RocketChat = {
AsyncStorage.removeItem(`${ TOKEN_KEY }-${ server }`);
setTimeout(() => {
database.deleteAll();
}, 300);
}, 1000);
},
disconnect() {
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment