From 84c9192788b35ac44203deedf193ff2de1792908 Mon Sep 17 00:00:00 2001 From: Nicholas Frechette Date: Tue, 7 Sep 2021 21:36:47 -0400 Subject: [PATCH] fix(database): manually call destructor Not strictly necessary right now, but future proofing. --- .../ACLPlugin/Private/AnimationCompressionLibraryDatabase.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ACLPlugin/Source/ACLPlugin/Private/AnimationCompressionLibraryDatabase.cpp b/ACLPlugin/Source/ACLPlugin/Private/AnimationCompressionLibraryDatabase.cpp index cd50151..b8b73f9 100644 --- a/ACLPlugin/Source/ACLPlugin/Private/AnimationCompressionLibraryDatabase.cpp +++ b/ACLPlugin/Source/ACLPlugin/Private/AnimationCompressionLibraryDatabase.cpp @@ -542,6 +542,9 @@ void UAnimationCompressionLibraryDatabase::BeginDestroy() PreviewDatabaseStreamer.Reset(); } #endif + + // Manually run the destructor since the container is opaque + DatabaseContext.~database_context(); } void UAnimationCompressionLibraryDatabase::PostLoad()