summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-08-06 11:04:06 +0200
committerMichael Stahl <mstahl@redhat.com>2015-08-06 13:22:59 +0200
commitb8eeefebb7914f4ed0346d97c8de56e8796c5be2 (patch)
tree46d013a02613ef1141f56e1713151ff8dc257c4e /toolkit
parentf636e53ea9d120ffd3e2cd9c771d6363642d0809 (diff)
toolkit: don't let ToolkitWorkerFunction join its own thread
Change-Id: I6694bf83e1e5ba6563d399e454442ce3574e8d26
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index cf141577038e..52a6451033d7 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -640,7 +640,8 @@ static void SAL_CALL ToolkitWorkerFunction( void* pArgs )
}
else
{
- JoinMainLoopThread();
+ // having the thread join itself is pretty stupid.
+ // but we can't get the osl_Thread to destroy here so just leak it.
}
}
}