diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 12:03:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 15:12:44 +0200 |
commit | 21f52ffd77f68d345949f212ad7d622502bd21e9 (patch) | |
tree | 90fb1fbae47b150f4719c101bab020dd4c8461c4 /toolkit | |
parent | 28dcdd5f6c2204718519e215d2ef5466743536c7 (diff) |
unopkg gui crashes on shutdown
since...
commit e655dc8bbf010e5ef89c32c2ebde56281b323925
Date: Thu May 9 18:24:18 2019 +0100
unipoll: let InitVCL tolerate double init.
which changed InitVCL to return true if it was
already initialized, tricking toolkit into thinking
it was the first one to call InitVCL
Change-Id: I33552a5e2caca909f8d63fbf5f23b9fbc4c2dfbd
Reviewed-on: https://gerrit.libreoffice.org/73956
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 398b5b77cfc4..e09dee3d242c 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -877,7 +877,7 @@ static void ToolkitWorkerFunction( void* pArgs ) } VCLXToolkit * pTk = static_cast<VCLXToolkit *>(pArgs); - bInitedByVCLToolkit = InitVCL(); + bInitedByVCLToolkit = !IsVCLInit() && InitVCL(); if( bInitedByVCLToolkit ) { UnoWrapper* pUnoWrapper = new UnoWrapper( pTk ); |