# Save when app close, exit() ... stop()

**URL:** <https://discourse.processing.org/t/save-when-app-close-exit-stop/25754>\
**Category:** Coding Questions\
**Created:** [November 27, 2020, 11:22am UTC](https://discourse.processing.org/t/save-when-app-close-exit-stop/25754 "2020-11-27T11:22:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![micycle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micycle/32/201_2.png) [@micycle](https://discourse.processing.org/u/micycle)\
**Post date:** [November 28, 2020, 3:53pm UTC](https://discourse.processing.org/t/save-when-app-close-exit-stop/25754/7 "2020-11-28T15:53:17Z")

</div>

Interesting. Try this then:

```auto
public void dispose() {
	println("Print this when sketch is closed.");
    super.dispose();
}

```

---

_[View the full topic](https://discourse.processing.org/t/save-when-app-close-exit-stop/25754)._
