Update task.js

This commit is contained in:
Namhyeon Go 2021-06-23 11:15:18 +09:00 committed by GitHub
parent 7874e2e07b
commit 2a54692d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,7 @@ var TaskQueue = function() {
}
};
this.run = function() {
this._keepalive = true;
while(this._keepalive) {
this.next();
sleep(100);