Add a cleanup function when using add_routes #682
wodadehencou
started this conversation in
Ideas
Replies: 1 comment
-
Do you have example code to try to reproduce? A clean up function shouldn't be necessary -- this is not expected behavior and is either a bug in langserve or else in user code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use per_req_config_modify to add callback handler, but I can not destroy the handler when the request is finished. So there are some memory leakage causing my application fail.
Beta Was this translation helpful? Give feedback.
All reactions