Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dphulkar/fixDockerIssue
  • Loading branch information
dphulkar-msft committed Dec 3, 2024
2 parents 6aeb559 + e342791 commit 0fb35c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ste/mgr-JobMgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,9 @@ func (jm *jobMgr) reportJobPartDoneHandler() {
(isCancelling && !haveFinalPart) // If we're cancelling, it's OK to try to exit early; the user already accepted this job cannot be resumed. Outgoing requests will fail anyway, so nothing can properly clean up.
if shouldComplete {
// Inform StatusManager that all parts are done.
close(jm.jstm.xferDone)
if jm.jstm.xferDone != nil {
close(jm.jstm.xferDone)
}

// Wait for all XferDone messages to be processed by statusManager. Front end
// depends on JobStatus to determine if we've to quit job. Setting it here without
Expand Down

0 comments on commit 0fb35c0

Please sign in to comment.