Skip to content

Commit

Permalink
Don't try to disconnect twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Mar 13, 2017
1 parent 04dbb76 commit 4381fbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/Client/setTlsCertificates.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ $client->onConnect(function() use ($client) {

$client->connect(TEST_MQTT_HOST, TEST_MQTT_TLS_PORT);
$client->loopForever();

$client->disconnect();
unset($client);

$client2 = new Mosquitto\Client;
Expand Down

0 comments on commit 4381fbf

Please sign in to comment.