diff --git a/src/xpra/client/client_base.py b/src/xpra/client/client_base.py index 954e13c0d7..a7953e8d60 100644 --- a/src/xpra/client/client_base.py +++ b/src/xpra/client/client_base.py @@ -453,13 +453,13 @@ def next_packet(self): def cleanup(self): FileTransferHandler.cleanup(self) reaper_cleanup() + self.cleanup_printing() p = self._protocol log("XpraClientBase.cleanup() protocol=%s", p) if p: log("calling %s", p.close) p.close() self._protocol = None - self.cleanup_printing() log("cleanup done") dump_all_frames() @@ -692,6 +692,7 @@ def init_printing(self): self.printing = False def cleanup_printing(self): + printlog("cleanup_printing() printing=%s", self.printing) if not self.printing: return self.cancel_send_printers_timer() @@ -712,6 +713,7 @@ def send_printers(self, *args): def cancel_send_printers_timer(self): spt = self.send_printers_timer + printlog("cancel_send_printers_timer() send_printers_timer=%s", spt) if spt: self.send_printers_timer = None self.source_remove(spt)