desktop/source/app/officeipcthread.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8914154f5f24c429633d6ec1c5762e50ebe80d2
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Sep 13 20:45:50 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 14 16:30:38 2022 +0200

    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 <caol...@redhat.com>

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;
 }
 

Reply via email to