Table of Contents

TTMSMCPClientTransportSTDIO.Stop Method

Ends the child process, stops the reader worker and closes both pipes.

API unit family: TMS.MCP.Client.Transport.STDIO Declaring type: TTMSMCPClientTransportSTDIO

Syntax

procedure Stop; override;

Remarks

The process is terminated rather than asked to shut down, so a server that needs an orderly close should be told so over the protocol before this is called. The reader worker is signalled but not waited for. Calling this when no process is running has no effect.