Free clients with >0 session expiry on exit.

This commit is contained in:
Roger A. Light
2019-03-18 23:06:53 +00:00
parent 94450eb8bc
commit 54a35ed0ed
+1 -1
View File
@@ -72,7 +72,7 @@ void session_expiry__remove_all(struct mosquitto_db *db)
session_expiry__remove(context);
context->session_expiry_interval = 0;
context->will_delay_interval = 0;
context__send_will(db, context);
context__disconnect(db, context);
}
}