summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-12-16 17:47:03 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-12-16 17:47:03 +0100
commit07a01d51fcb13156029cd2fd3c96605500773f11 (patch)
tree4a0cc4fbef43510224390710a77186cbe3dc0252 /vcl/unx
parent5df27651727b0c7899a7220f972799a99694254d (diff)
vcl108: #i107260# avoid waiting for an event that may never come
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/source/dtrans/X11_selection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/source/dtrans/X11_selection.cxx b/vcl/unx/source/dtrans/X11_selection.cxx
index 07f2cfd5e087..e549d92d9c5f 100644
--- a/vcl/unx/source/dtrans/X11_selection.cxx
+++ b/vcl/unx/source/dtrans/X11_selection.cxx
@@ -3810,7 +3810,7 @@ void SelectionManager::shutdown() throw()
*/
aGuard.clear();
while (osl_isThreadRunning(m_aThread))
- Application::Yield();
+ Application::Reschedule();
osl_joinWithThread( m_aThread );
osl_destroyThread( m_aThread );
m_aThread = NULL;