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