Skip to content

Commit

Permalink
Add a delay that was detected as needed via a git bisect
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 6, 2018
1 parent dccf570 commit 7e0a9e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/JBrowse/View/Track/Alignments2.js
Expand Up @@ -190,7 +190,9 @@ return declare( [ CanvasFeatureTrack, AlignmentsMixin ], {
let f = args.finishCallback
args.finishCallback = () => {
f()
this.store.cleanFeatureCache({ ref: this.refSeq.name, start: min, end: max })
setTimeout(() => {
this.store.cleanFeatureCache({ ref: this.refSeq.name, start: min, end: max })
}, 1000)
}
}
supermethod.call(this, args)
Expand Down

0 comments on commit 7e0a9e2

Please sign in to comment.