diff --git a/src/zmc.cpp b/src/zmc.cpp index 68c6227af..6577b5b58 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -365,6 +365,7 @@ int main(int argc, char *argv[]) { monitor->Id()); zmDbDo(sql); } + monitors.clear(); Image::Deinitialise(); Debug(1, "terminating");