# KSPMonitorSAWsDestroy
destroy a monitor context created with `KSPMonitorSAWsCreate()` 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPMonitorSAWsDestroy(void **ctx)
```
Collective


## Input Parameter

- ***ctx -*** monitor context





## See Also
 [](chapter_ksp), `KSP`, `KSPMonitorSet()`, `KSPMonitorSAWsCreate()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/interface/saws/kspsaws.c.html#KSPMonitorSAWsDestroy">src/ksp/ksp/interface/saws/kspsaws.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/saws/kspsaws.c)


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