forked from mystiq/hydrogen-web
ignore abort error
This commit is contained in:
parent
919357b474
commit
163ca12854
1 changed files with 3 additions and 1 deletions
|
@ -196,7 +196,9 @@ export class Sync {
|
|||
// avoid corrupting state by only
|
||||
// storing the sync up till the point
|
||||
// the exception occurred
|
||||
syncTxn.abort();
|
||||
try {
|
||||
syncTxn.abort();
|
||||
} catch (abortErr) { /* ignore when we can't abort */ }
|
||||
throw err;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue