From 5edf1087dd226ea384b0747b00c6bf442b8f12fe Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 22 May 2018 03:41:34 +0200 Subject: Update odhtdb --- depends/odhtdb | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends/odhtdb b/depends/odhtdb index f2cf653..2769920 160000 --- a/depends/odhtdb +++ b/depends/odhtdb @@ -1 +1 @@ -Subproject commit f2cf653eb9967dc9ee26cbe7a43d1815bd526563 +Subproject commit 27699207f857e06ac23707b55325565a2790e878 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; } -- cgit v1.2.3