Browse Source

Update index.js

pull/94/head
Kevin Kwok 8 years ago committed by GitHub
parent
commit
b99bf1cee5
  1. 4
      src/index.js

4
src/index.js

@ -35,6 +35,8 @@ class TesseractWorker { @@ -35,6 +35,8 @@ class TesseractWorker {
terminate(){
if(this.worker) adapter.terminateWorker(this);
this.worker = null;
this._currentJob = null;
this._queue = [];
}
_delay(fn){
@ -70,4 +72,4 @@ class TesseractWorker { @@ -70,4 +72,4 @@ class TesseractWorker {
}
}
module.exports = create();
module.exports = create();

Loading…
Cancel
Save