On Tue, Jul 17, 2012 at 10:06 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Ok, then the destructor called by the MPI_Comm_del() would decrease the > reference count by one and if it gets to zero then does the delete as usual. > This is exactly what is done, but PETSC_COMM_WORLD and PETSC_COMM_SELF outlive PetscFinalize, so we remove one more reference count for each of those so that it actually gets collected. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120717/0d2bb4c9/attachment.html>
