]> git.sesse.net Git - vlc/commitdiff
Fix segfault when closing http interface.
authorAntoine Cellerier <antoine@macbook.(none)>
Mon, 14 Dec 2009 21:29:34 +0000 (22:29 +0100)
committerAntoine Cellerier <antoine@macbook.(none)>
Mon, 14 Dec 2009 22:29:52 +0000 (23:29 +0100)
share/lua/intf/http.lua

index 484ec6a28a66dd17d89ae3ddd20a85ece2965728..fc18dcf6c34f2fcbfd3b331f1019f8c964ad5786 100644 (file)
@@ -279,8 +279,3 @@ load_dir( http_dir )
 
 while not vlc.misc.lock_and_wait() do end -- everything happens in callbacks
 
--- FIXME: We shouldn't need to do this ourselves.
-for i=1,#files do
-    getmetatable(files[i]).__gc(files[i])
-    files[i] = nil
-end