Skip to content

Commit

Permalink
rgw: RGWDataSyncStatusManager::finalize() cleanup
Browse files Browse the repository at this point in the history
rgw: RGWDataSyncStatusManager::finalize() cleanup

Reviewed-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley committed May 10, 2016
2 parents 6feb8c4 + 365e833 commit b89d793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rgw/rgw_data_sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,8 @@ int RGWDataSyncStatusManager::init()

void RGWDataSyncStatusManager::finalize()
{
source_log.finish();
sync_env = RGWDataSyncEnv{};
delete error_logger;
error_logger = nullptr;
ioctx.close();
Expand Down

0 comments on commit b89d793

Please sign in to comment.