Hi Fabio,
Thanks for reporting, this is indeed a bug. As you suspected, the
exception is the reason why liquidsoap can't shutdown cleanly. Does
the exception occur precisely when you shutdown? Could you provide us
with a backtrace? (Reconfigure with --enable-debugging and compile.)
Which version is it?
It's probably something that can be fixed quickly once we can
reproduce. I tried the following but it worked smoothly:
$ liquidsoap -t 'set("server.telnet.port",1111)
server.register("shutdown",fun(_)->begin shutdown(); "DONE" end)
output.dummy(blank())'
...
<issuing command using telnet>
2011/09/14 10:44:16 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2011/09/14 10:44:20 [server:3] New client: localhost
2011/09/14 10:44:22 [main:3] Shutdown started!
2011/09/14 10:44:22 [main:3] Waiting for threads to terminate...
2011/09/14 10:44:22 [clock.wallclock_main:3] Streaming loop stopped.
2011/09/14 10:44:22 [threads:3] Thread "wallclock_main" terminated (0
remaining).
2011/09/14 10:44:22 [main:3] Cleaning downloaded files...
2011/09/14 10:44:22 >>> LOG END
Cheers,
--
David
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users