diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-16 17:47:03 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-16 17:47:03 +0100 |
commit | 07a01d51fcb13156029cd2fd3c96605500773f11 (patch) | |
tree | 4a0cc4fbef43510224390710a77186cbe3dc0252 /vcl/unx | |
parent | 5df27651727b0c7899a7220f972799a99694254d (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.cxx | 2 |
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; |