diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-13 20:45:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-14 16:30:38 +0200 |
commit | b8914154f5f24c429633d6ec1c5762e50ebe80d2 (patch) | |
tree | 134427a98c1aa192c11af2a19221871ab03717b0 /desktop | |
parent | 3076912419ddea4e1910a26e7c024cef4405dc5c (diff) |
close "OSL_PIPE" pipe on SIGTERM
so we don't accumulate ever growing number of stray OSL_PIPE_* in /tmp
in crashtesting where timed out instances are killed off with SIGTERM
and negate the need for hackery such as
https://stackoverflow.com/questions/42515894/open-xchange-java-issues
of:
ox_kill_readerengine_instances() {
...
rm -f /tmp/OSL_PIPE_*
}
Change-Id: Id5909cba6afc57498adb4ff0677d8a411330e221
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139881
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 6e3e97b06d19..ea330ea3d415 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -303,7 +303,7 @@ static void ImplPostProcessDocumentsEvent( std::unique_ptr<ProcessDocumentsReque oslSignalAction SalMainPipeExchangeSignal_impl(SAL_UNUSED_PARAMETER void* /*pData*/, oslSignalInfo* pInfo) { if( pInfo->Signal == osl_Signal_Terminate ) - RequestHandler::SetDowning(); + RequestHandler::Disable(); return osl_Signal_ActCallNextHdl; } |