# PetscObjectRegisterDestroyAll

Frees all the PETSc objects that have been registered with PetscObjectRegisterDestroy(). Called by PetscFinalize() PetscFinalize() is called.

### Synopsis

    #include "petsc.h"
    int PetscObjectRegisterDestroyAll(void)

Collective on individual PetscObjects

### See Also

PetscObjectRegisterDestroy()

Level:developer
Location: src/sys/src/objects/destroy.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages