From 8fd9765d3da8313d1b7397f11366c6d270baa774 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 24 Aug 2016 06:18:55 +0000 Subject: [PATCH] the sound pipeline may be stuck, so 1 second after the cleanup request we try to force stop git-svn-id: https://xpra.org/svn/Xpra/trunk@13454 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/sound/wrapper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpra/sound/wrapper.py b/src/xpra/sound/wrapper.py index c87a9aa381..af795b5b7b 100644 --- a/src/xpra/sound/wrapper.py +++ b/src/xpra/sound/wrapper.py @@ -89,11 +89,12 @@ def force_exit(): def cleanup(self): wo = self.wrapped_object - log("stop() wrapped object=%s", wo) + log("cleanup() wrapped object=%s", wo) if wo: #this will stop the sound pipeline: self.wrapped_object = None wo.cleanup() + self.timeout_add(1000, self.do_stop) def export_info(self): wo = self.wrapped_object