changeset 2834 | 92f6f82397c9 |
parent 2833 | 8082bfc10e65 |
child 2838 | 3fb5f173f213 |
--- a/mod_auth_external/mod_auth_external.lua Sat Nov 18 00:36:22 2017 +0100 +++ b/mod_auth_external/mod_auth_external.lua Sat Nov 18 00:37:42 2017 +0100 @@ -44,6 +44,12 @@ ptys[i] = lpty.new(pty_options); end +function module.unload() + for i = 1, auth_processes do + ptys[i]:endproc(); + end +end + local curr_process = 0; function send_query(text) curr_process = (curr_process%auth_processes)+1;