return a thunk that can kill the web server
svn: r12532
This commit is contained in:
parent
beea721bc4
commit
827b76cb6f
|
@ -272,8 +272,9 @@
|
|||
|
||||
(provide run)
|
||||
(define (run p)
|
||||
(define t
|
||||
(thread (lambda () (dynamic-wind
|
||||
(lambda () (log-line "*** starting web server"))
|
||||
(run-servlet p)
|
||||
(lambda () (log-line "*** web server died!")))))
|
||||
(void))
|
||||
(lambda () (log-line "*** web server died!"))))))
|
||||
(lambda () (thread-break t)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user