diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2001-06-19 14:58:12 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2001-06-19 14:58:12 +0000 |
commit | f6da87a98aeda9dec0a3be24b868eb781c6c14bb (patch) | |
tree | dae9ba275c17d40d7d53799fe9f08315077e4d8b /dtrans | |
parent | ff0521c6bdf911f040d0bc19684c7b8cb5836ad4 (diff) |
osl_freeThreadHandle is no more
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/X11/X11_selection.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dtrans/source/X11/X11_selection.cxx b/dtrans/source/X11/X11_selection.cxx index 9cdcda871a87..782558ca944e 100644 --- a/dtrans/source/X11/X11_selection.cxx +++ b/dtrans/source/X11/X11_selection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: X11_selection.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: pl $ $Date: 2001-06-14 09:10:03 $ + * last change: $Author: vg $ $Date: 2001-06-19 15:58:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2334,6 +2334,7 @@ void SelectionManager::dragDoDispatch() osl_yieldThread(); dispatchEvent( 200 ); } + oslThread aThread = m_aDragExecuteThread; #ifdef DEBUG fprintf( stderr, "end executeDrag dispatching\n" ); #endif @@ -2374,13 +2375,13 @@ void SelectionManager::dragDoDispatch() XUngrabKeyboard( m_pDisplay, CurrentTime ); XFlush( m_pDisplay ); - osl_freeThreadHandle( m_aDragExecuteThread ); m_aDragExecuteThread = NULL; m_aDragRunning.reset(); #ifdef DEBUG fprintf( stderr, "thread cleaned up\n" ); #endif } + osl_destroyThread( aThread ); } /* |