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 Oct 31, 2018
1 parent 62742ce commit b328afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/JBrowse/View/Track/Alignments2.js
Original file line number Diff line number Diff line change
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 b328afc

Please sign in to comment.