Skip to content

Commit

Permalink
Fix crash after client has been unable to connect to a broker
Browse files Browse the repository at this point in the history
This is part of the cleanup routine when the client is already exiting.

Closes eclipse#1246. Thanks to Christoph Krey.
  • Loading branch information
ralight authored and ccvca committed May 1, 2019
1 parent 5acfccd commit 323759c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Expand Up @@ -8,6 +8,11 @@ Broker:
`response-topic`. Closes #1244.
- Fix build for WITH_TLS=no. Closes #1250.

Client library:
- Fix crash after client has been unable to connect to a broker. This occurs
when the client is exiting and is part of the final library cleanup routine.
Closes #1246.


1.6.1 - 20190426
================
Expand Down
1 change: 1 addition & 0 deletions lib/net_mosq.c
Expand Up @@ -107,6 +107,7 @@ static void cleanup_ui_method(void)
{
if(_ui_method){
UI_destroy_method(_ui_method);
_ui_method = NULL;
}
}

Expand Down

0 comments on commit 323759c

Please sign in to comment.