register session before loading plugin to be able to create callbacks in plugin
This commit is contained in:
parent
e667dedcc2
commit
3fcaa99239
|
@ -75,6 +75,7 @@
|
||||||
(make-lock) ; continuation table lock
|
(make-lock) ; continuation table lock
|
||||||
(make-thread-safe-counter))) ; continuation counter
|
(make-thread-safe-counter))) ; continuation counter
|
||||||
(release-lock *instance-table-lock*)
|
(release-lock *instance-table-lock*)
|
||||||
|
(register-session! instance-id 'no-return)
|
||||||
(let ((plugin (with-fatal-error-handler*
|
(let ((plugin (with-fatal-error-handler*
|
||||||
(lambda (condition decline)
|
(lambda (condition decline)
|
||||||
(instance-delete! instance-id)
|
(instance-delete! instance-id)
|
||||||
|
@ -83,7 +84,6 @@
|
||||||
(get-plugin-rt-structure path-string servlet-path)))))
|
(get-plugin-rt-structure path-string servlet-path)))))
|
||||||
(reset
|
(reset
|
||||||
(begin
|
(begin
|
||||||
(register-session! instance-id 'no-return)
|
|
||||||
(with-cwd
|
(with-cwd
|
||||||
servlet-path
|
servlet-path
|
||||||
(with-names-from-rt-structure
|
(with-names-from-rt-structure
|
||||||
|
|
Loading…
Reference in New Issue