Skip to content

Commit 4f6e7e6

Browse files
committed
Fix close/finalize order
1 parent f36f925 commit 4f6e7e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ParallelDataCollector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ namespace splash
193193

194194
ParallelDataCollector::~ParallelDataCollector()
195195
{
196-
finalize();
196+
close();
197197
H5Pclose(fileAccProperties);
198+
finalize();
198199
}
199200

200201
void ParallelDataCollector::finalize()
201202
{
202-
close();
203203
if (options.mpiComm != MPI_COMM_NULL)
204204
{
205205
log_msg(1, "finalizing data collector");

0 commit comments

Comments
 (0)