--- lbbs/src/net_server.c 2025/11/19 14:47:08 1.94 +++ lbbs/src/net_server.c 2025/11/21 10:34:10 1.96 @@ -446,6 +446,13 @@ static int fork_server(void) SYS_child_process_count = 0; + // BWF compile + if (bwf_compile() < 0) + { + log_error("bwf_compile() error\n"); + goto cleanup; + } + bbs_main(); cleanup: @@ -482,6 +489,9 @@ cleanup: ssh_free(SSH_session); ssh_finalize(); + // BWF cleanup + bwf_cleanup(); + // Close Input and Output for client io_cleanup(); close(STDIN_FILENO);