Comments (2)
It's basically impossible to debug by just looking at your minified javascript, but given that call stack I would suggest adding the following:
- In
Genoverse.constructor
, addthis.deferreds = []
below the declaration ofthis.events
- In
Genoverse.loadGenomes
andGenoverse.loadPlugins
, push the returned values tothis.deferreds
before returning. - In
Genoverse.destroy
, abort the contents ofthis.deferreds
before doing anything else.
I haven't tested this at all, so let me know if it works!
from genoverse.
@simonbrent Hi, Simon.
I did as you said, but as expected, this didsn't work. By the time I destroy the browser, Genoverse.loadGenomes()
and Genoverse.loadPlugins()
have already fired and triggered init()
and setRange()
, which created deferreds on tracks, and those deferreds fire later and are not cancelled.
I'm trying to create a minimal isolated test example for you on a separate OpenStack machine. If I have time to do this, I'll contact you later on and provide a link to it, so that you don't have to setup anything. But it's also likely that I won't be able to do this as I'll be away in a few days.
from genoverse.
Related Issues (20)
- jquery-ui clashes with d3 for mouseup event HOT 3
- Can you make a bundle without jquery and other standard dependencies, available via npm? HOT 6
- How to display highlights? What's the difference between highlights and mouse drag action mode highlights? HOT 2
- In new Genoverse exon-intron structure is not displayed, what's wrong with my parseData? HOT 1
- Convert highlights to histogram HOT 7
- Sequence track dissapears HOT 1
- Track for read coverage 2018
- Track for Coverage 2018 HOT 4
- Is it possible to use pyensembl local database with Genoverse? HOT 1
- How practical HOT 1
- ScatterPlots? HOT 1
- website is broken HOT 1
- How to configure local BED/BAM file as data source? HOT 3
- Does Genoverse browser fit .bb(bigbed) file? HOT 1
- How to load my own genome feature in the Genoverse tracks?
- How to load my own genome feature in the Genoverse tracks?
- How can i load my local genome feature file and perform it in the web? HOT 4
- When performing a location query, the URL makes two requests.
- Vue2 templates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genoverse.