prevent delete from byUri when pending

This commit is contained in:
jessop 2020-07-02 12:50:54 -04:00
parent 85f0f574bd
commit c0bfa4d320
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -5222,7 +5222,7 @@ function handleClaimAction(state, action) {
}
newResolvingUrls.delete(url);
if (!stream && !channel) {
if (!stream && !channel && !pendingIds.includes(byUri[url])) {
byUri[url] = null;
}
});

View file

@ -160,7 +160,7 @@ function handleClaimAction(state: State, action: any): State {
}
newResolvingUrls.delete(url);
if (!stream && !channel) {
if (!stream && !channel && !pendingIds.includes(byUri[url])) {
byUri[url] = null;
}
});