vcl/win/gdi/salprn.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3372f93173b900c087073078a01d31916bf47783
Author:     Noel Grandin <n...@peralex.com>
AuthorDate: Wed Sep 15 16:01:13 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Sep 15 20:24:03 2021 +0200

    add some logging for intermittent windows jenkins crash
    
    Change-Id: I8ad589dd8d0a64f75179d3330c80c9c43a21ff32
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122155
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index e7a6936364f5..0c5057797682 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -1105,6 +1105,8 @@ WinSalInfoPrinter::~WinSalInfoPrinter()
     if ( mpGraphics )
     {
         mpGraphics->DeInitGraphics();
+        // we get intermittent crashes on the Windows jenkins box around here, 
let us see if there is something weird about the DC
+        SAL_WARN("vcl", "Graphics DC " << mpGraphics->getHDC());
         DeleteDC( mpGraphics->getHDC() );
         delete mpGraphics;
     }

Reply via email to