Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hajipy committed Apr 16, 2020
1 parent 58cc340 commit a1beeb4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dist/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ class Worker {
this._currentJob = null;
return;
}
// 実行中じゃなければシャットダウンが進行中なので、処理を中断する
if (this._isRunning === false) {
this._currentJob = null;
if (this._currentJob === null) {
return;
}
// ジョブが削除されていれば、処理を中断する
if (await this._currentJob.isExist() === false) {
this._currentJob = null;
return;
Expand Down

0 comments on commit a1beeb4

Please sign in to comment.