]> git.sesse.net Git - vlc/commitdiff
httpd: do not use lock_and_wait
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 25 Mar 2012 17:27:14 +0000 (20:27 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 25 Mar 2012 17:37:01 +0000 (20:37 +0300)
If there is nothing to do, then the interface thread can finish.

share/lua/intf/http.lua

index 9d3e7ed9ee91234676f61af982c812ac836a4c76..fe6716aa4ec81f02fc081baa06f7e21bbcae5bc6 100644 (file)
@@ -332,6 +332,3 @@ end
 h = vlc.httpd()
 local root_acl = load_dir( http_dir )
 local a = h:handler("/art",nil,nil,root_acl,callback_art,nil)
-
-while not vlc.misc.lock_and_wait() do end -- everything happens in callbacks
-