diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-06-24 02:38:59 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-06-24 02:38:59 (GMT) |
commit | 70a371f16e7a92821161e771a40b63c84fd194ea (patch) | |
tree | 625ecc61e6c578d8442220636df683358a875258 /rhimport/session.go | |
parent | b76cbf24f5880f8a070fb3111d2b268052bdf97d (diff) |
fixed canceling when uploading connection is gone
Diffstat (limited to 'rhimport/session.go')
-rw-r--r-- | rhimport/session.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rhimport/session.go b/rhimport/session.go index e04066a..84d283e 100644 --- a/rhimport/session.go +++ b/rhimport/session.go @@ -221,6 +221,7 @@ func (self *Session) dispatchRequests() { if progressPending > 1 && lastProgress != nil { self.callProgressHandler(lastProgress) } + progressPending = 0 lastProgress = nil case p := <-self.progressIntChan: if self.state == SESSION_RUNNING { |