mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 05:06:04 +00:00
Update task.js
This commit is contained in:
parent
e8e9174f1f
commit
c04a3753e7
|
@ -126,7 +126,6 @@ var TaskQueue = function() {
|
||||||
this.run = function() {
|
this.run = function() {
|
||||||
this._keepalive = true;
|
this._keepalive = true;
|
||||||
while(this._keepalive) {
|
while(this._keepalive) {
|
||||||
var now = new Date().getTime();
|
|
||||||
this.next();
|
this.next();
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user