From ea3e4d2b5b04892f436fd4581129044abf0f85f2 Mon Sep 17 00:00:00 2001 From: Jason Beverage Date: Thu, 26 Mar 2020 14:08:31 -0400 Subject: [PATCH] Closing ZipArchive in destructor --- src/osgPlugins/zip/ZipArchive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgPlugins/zip/ZipArchive.cpp b/src/osgPlugins/zip/ZipArchive.cpp index 02b2417dc..0a5f3e98f 100644 --- a/src/osgPlugins/zip/ZipArchive.cpp +++ b/src/osgPlugins/zip/ZipArchive.cpp @@ -44,6 +44,7 @@ _zipLoaded( false ) ZipArchive::~ZipArchive() { + close(); } /** close the archive (on all threads) */