From 126623645f61e0f013d799b75768674cd77fc8e3 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) */