[hunchentoot-devel] Re: SLIME + SBCL + Hunchentoot on Windows XP - how do I stop the server

Anton Vodonosov avodonosov at yandex.ru
Sat Jul 12 11:48:59 UTC 2008


12.07.08, 14:51, "Mathias Dahl" mathias.dahl at gmail.com:

> Sorry, I did not mean to say that your hack would not solve my
> problem. It's just that I wanted a really simple way to stop the
> server, that's it. What I tried myself was to create a handler for a
> stop-server, but that did not work because the variable where I stored
> the server object seemed to be empty. Maybe that is because the server
> never returns on a single thread SBCL?

Sure. HUNCHENTOOT:START-SEVER is not returned yet and the variable is not assigned.
What I do is wrap HUNCHENTOOT:START-SERVER into CATCH
and then THROW from the "handler for a stop-server"

Best regards,
- Anton



More information about the Tbnl-devel mailing list