message: check if aggregator is active before close it
diff: @@ -245,9 +245,11 @@ void BP4FileWriter::DoClose(const int transportIndex)
  {
  WriteProfilingJSONFile();
  }
  -
  + if (m_BP4Serializer.m_Aggregator.m_IsActive)
  + {
  m_BP4Serializer.m_Aggregator.Close();
  }
  +}
  void BP4FileWriter::WriteProfilingJSONFile()
  {
  