summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r--main/main-impl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/main-impl.cpp b/main/main-impl.cpp
index ba2fa3ec..a971edcf 100644
--- a/main/main-impl.cpp
+++ b/main/main-impl.cpp
@@ -8,7 +8,11 @@ namespace floormat {
floormat_main::floormat_main() noexcept = default;
floormat_main::~floormat_main() noexcept = default;
-main_impl::~main_impl() noexcept = default;
+
+main_impl::~main_impl() noexcept
+{
+ reset_world();
+}
void main_impl::quit(int status) { Platform::Sdl2Application::exit(status); }
struct world& main_impl::world() noexcept { return _world; }