diff options
Diffstat (limited to 'bowshock/source/application/Application/destructor.cxx')
-rw-r--r-- | bowshock/source/application/Application/destructor.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bowshock/source/application/Application/destructor.cxx b/bowshock/source/application/Application/destructor.cxx new file mode 100644 index 0000000..73a2bf0 --- /dev/null +++ b/bowshock/source/application/Application/destructor.cxx @@ -0,0 +1,16 @@ +// Copyright 2022-2023 Gabriel Bjørnager Jensen. + +#include <bow/application.hxx> + +#include <cstdio> +#include <fmt/core.h> + +bow::Application::~Application() noexcept { + ::fmt::print(stderr, "[app] quitting\n"); + + delete this->client; + + delete this->server; + + ::fmt::print(stderr, "\nGoodbye!\n"); +} |