From 735737f4a2533251df163ff6df8880c2fa2e020d Mon Sep 17 00:00:00 2001 From: uwap Date: Mon, 6 Nov 2017 06:23:06 +0100 Subject: [PATCH] Oops --- src/mqtt.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mqtt.js b/src/mqtt.js index 1809096..3223ae8 100644 --- a/src/mqtt.js +++ b/src/mqtt.js @@ -30,7 +30,6 @@ export default function connectMqtt(url: string, store: Store<*,*>) { store.dispatch({ type: null }); }); client.on("reconnect", () => { - client.end(); store.dispatch({ type: null }); }); }