From ea5eb4639ac3cca4301e23655d0e7aeaed6f8bcc Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 3 Dec 2019 19:16:00 +0100 Subject: keep just one shared reference to Skia shared GrContext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should make it easier to keep the reference without having to keep references all over the place, especially when the shared GrContext starts to be used also for GPU-backed surfaces elsewhere. Change-Id: Icf3f6eb849ebc5eb63b1836f9caeb6f5e5e58ca6 Reviewed-on: https://gerrit.libreoffice.org/84560 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- vcl/win/app/salinst.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vcl/win') diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 43cc8e8e6a85..cd9332e0c728 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -407,6 +407,9 @@ WinSalInstance::~WinSalInstance() { ImplFreeSalGDI(); DestroyWindow( mhComWnd ); +#if HAVE_FEATURE_SKIA + SkiaHelper::cleanup(); +#endif } static LRESULT ImplSalDispatchMessage( const MSG* pMsg ) -- cgit