mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
The resilient connect() override started the child process into a local variable and never set the parent's private process field, so the parent's closeGracefully() logged "Process not started" and left the child running on every reconnect/disable. Retain the started process and override closeGracefully() to destroy it and interrupt the spawned I/O threads. Also make the inboundSink/errorSink reflection fail loud (the transport is useless without them — a silent null yielded a connected transport that timed out on every call), force UTF-8 on the stdio reader/writer, honour a cooperative closing flag in the reader loops, and drop duplicate PATH entries. |
||
|---|---|---|
| .. | ||
| mate | ||