From 38d240d1358acb52e659a3b5f8a4b97a3c0b3b0a Mon Sep 17 00:00:00 2001 From: Etoh Date: Mon, 17 Feb 2014 21:32:12 +0000 Subject: [PATCH] Don't send a message if VLC is not running --- resources/lua/intf/syncplay.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lua/intf/syncplay.lua b/resources/lua/intf/syncplay.lua index 1e80cdf..3124301 100644 --- a/resources/lua/intf/syncplay.lua +++ b/resources/lua/intf/syncplay.lua @@ -448,7 +448,7 @@ while running == true do -- handle write mode - if (responsebuffer) then + if (responsebuffer and running == true) then vlc.net.send( fd, responsebuffer ) responsebuffer = "" end