Skip to content

Commit

Permalink
fix(database): manually call destructor
Browse files Browse the repository at this point in the history
Not strictly necessary right now, but future proofing.
  • Loading branch information
nfrechette committed Sep 10, 2021
1 parent 3fdec6b commit 84c9192
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ void UAnimationCompressionLibraryDatabase::BeginDestroy()
PreviewDatabaseStreamer.Reset();
}
#endif

// Manually run the destructor since the container is opaque
DatabaseContext.~database_context<UE4DefaultDatabaseSettings>();
}

void UAnimationCompressionLibraryDatabase::PostLoad()
Expand Down

0 comments on commit 84c9192

Please sign in to comment.