Skip to content

Commit

Permalink
fix: FTDC signals end of macro download
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed Nov 20, 2021
1 parent 3aaea78 commit a22861f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dataTransfer/dataTransferMacro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ export class DataDownloadMacro extends DataTransfer {
transferId: this.transferId,
transferIndex: this.macroIndex
}))
} else if (command.constructor.name === Commands.DataTransferCompleteCommand.name) {
this.state = TransferState.Finished
this.resolvePromise(this)
}
}

return commands
}
Expand Down

0 comments on commit a22861f

Please sign in to comment.