mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-25 11:15:54 +08:00
Free clients with >0 session expiry on exit.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user