From d0249f3e71c500beef57e9e90f3f02e25c53f3be Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 6 Jan 2016 03:13:47 +0000 Subject: [PATCH] try harder to prevent the race causing a "Warning: Source ID XXXXXX was not found when attempting to remove it self.source_remove(rt)": move the logging after the call git-svn-id: https://xpra.org/svn/Xpra/trunk@11600 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/server/window/video_subregion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/server/window/video_subregion.py b/src/xpra/server/window/video_subregion.py index 3657117a1d..883a1b4e64 100644 --- a/src/xpra/server/window/video_subregion.py +++ b/src/xpra/server/window/video_subregion.py @@ -74,11 +74,11 @@ def set_auto_refresh_delay(self, d): def cancel_refresh_timer(self): rt = self.refresh_timer - refreshlog("cancel_refresh_timer() timer=%s", rt) if rt: self.source_remove(rt) self.refresh_timer = None self.refresh_regions = [] + refreshlog("cancel_refresh_timer() timer=%s", rt) def get_info(self): r = self.rectangle