From 4381fbf9e55fc86710924488fa7044c2c7190473 Mon Sep 17 00:00:00 2001 From: Michael Maclean Date: Mon, 13 Mar 2017 23:19:23 +0000 Subject: [PATCH] Don't try to disconnect twice --- tests/Client/setTlsCertificates.phpt | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/Client/setTlsCertificates.phpt b/tests/Client/setTlsCertificates.phpt index cebfc24..238a253 100644 --- a/tests/Client/setTlsCertificates.phpt +++ b/tests/Client/setTlsCertificates.phpt @@ -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;