summaryrefslogtreecommitdiff
path: root/plugins/common/RESTSupport.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common/RESTSupport.vala')
-rw-r--r--plugins/common/RESTSupport.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala
index d92c264..482fd2c 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -190,6 +190,9 @@ public class Transaction {
private void on_wrote_body_data(Soup.Buffer written_data) {
bytes_written += (int) written_data.length;
+ while (Gtk.events_pending()) {
+ Gtk.main_iteration();
+ }
chunk_transmitted(bytes_written, (int) message.request_body.length);
}