Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
jio
Commits
dcca4e59
Commit
dcca4e59
authored
Sep 04, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[indexeddb] fix cancellation issue
parent
008516f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/jio.storage/indexeddbstorage.js
src/jio.storage/indexeddbstorage.js
+2
-8
No files found.
src/jio.storage/indexeddbstorage.js
View file @
dcca4e59
...
...
@@ -149,10 +149,7 @@
}
catch
(
error
)
{
reject
(
error
);
}
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
result
;
})
return
new
RSVP
.
Queue
(
result
)
.
push
(
function
(
final_result
)
{
canceller
();
resolve
(
final_result
);
...
...
@@ -184,10 +181,7 @@
reject
(
error
);
}
tx
.
oncomplete
=
function
()
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
result
;
})
return
new
RSVP
.
Queue
(
result
)
.
push
(
resolve
,
function
(
error
)
{
canceller
();
reject
(
error
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment