:orphan:
# PetscRegisterFinalizeAll
Runs all the finalize functions set with `PetscRegisterFinalize()` 
## Synopsis
```
#include "petscsys.h"    
PetscErrorCode PetscRegisterFinalizeAll(void)
```
Not Collective unless registered functions are collective




## See Also
 `PetscRegisterFinalize()`, `PetscObjectRegisterDestroyAll()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/destroy.c.html#PetscRegisterFinalizeAll">src/sys/objects/destroy.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/destroy.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
