mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
Ensure transmit next chunk is called
This commit is contained in:
parent
4f72bb9894
commit
47af65dc5c
1 changed files with 3 additions and 0 deletions
|
|
@ -610,6 +610,9 @@ func (self *SendHandler) refresh_progress(timer_id loop.IdType) (err error) {
|
|||
if timer_id == self.progress_update_timer {
|
||||
self.progress_update_timer = 0
|
||||
}
|
||||
if self.manager.active_file() == nil && !self.manager.all_acknowledged && self.done_file_ids.Len() != 0 && self.done_file_ids.Len() < len(self.manager.files) {
|
||||
self.transmit_next_chunk()
|
||||
}
|
||||
self.lp.StartAtomicUpdate()
|
||||
defer self.lp.EndAtomicUpdate()
|
||||
self.erase_progress()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue