aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------depends/odhtdb0
-rw-r--r--src/main.cpp1
2 files changed, 1 insertions, 0 deletions
diff --git a/depends/odhtdb b/depends/odhtdb
-Subproject f2cf653eb9967dc9ee26cbe7a43d1815bd52656
+Subproject 27699207f857e06ac23707b55325565a2790e87
diff --git a/src/main.cpp b/src/main.cpp
index ed3bfd6..1ce032c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -943,6 +943,7 @@ int main(int argc, char **argv)
// We need to wait until our `ping` packet for disconnecting is sent to all channels
printf("Shutting down...\n");
this_thread::sleep_for(chrono::seconds(3));
+ delete database;
return 0;
}