1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Add Destroy to view managers

This commit is contained in:
Fred Chasen 2017-02-12 13:27:49 -05:00
parent db727b00a9
commit d95ec97f7f
10 changed files with 118 additions and 59 deletions

View file

@ -72,7 +72,7 @@ class Queue {
dequeue(){
var inwait, task, result;
if(this._q.length) {
if(this._q.length && !this.paused) {
inwait = this._q.shift();
task = inwait.task;
if(task){
@ -178,6 +178,7 @@ class Queue {
clear(){
this._q = [];
this.running = false;
this.paused = true;
}
/**