fixes related to new actor implementation
This commit is contained in:
parent
059c99e8de
commit
3509887ad0
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,8 @@
|
|||
|
||||
(defun setup (cfg)
|
||||
(let* ((auth (make-instance 'simple-authenticator))
|
||||
(ctx (core:default-setup cfg 'context :authenticator auth))
|
||||
(ctx (funcall (core:make-setup
|
||||
:class 'context :args '(:authenticator auth)) cfg))
|
||||
(cred (setup-credentials (admin-credentials cfg)))
|
||||
(admin (make-principal :system cred)))
|
||||
(setf (gethash (list :system (name cred)) (principals auth)) admin)
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
|
||||
(defun finish (resp)
|
||||
(funcall (writer resp) nil :close t)
|
||||
(actor:stop resp))
|
||||
(actor:stop (core:mailbox resp)))
|
||||
|
||||
(defun render (resp)
|
||||
#'(lambda (responder)
|
||||
|
|
Loading…
Add table
Reference in a new issue