diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index 4e57a56c3c230b5352bff776e9814e84659ce1af..14a2daf46b5edcc60ff2f602277d43ea90d1be32 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -412,11 +412,12 @@ namespace ATxService Log.Warn("{0} service stop requested...", ServiceName); if (_transferState != TxState.Stopped) { _transferState = TxState.DoNothing; - // Stop() is calling Process.Kill() (immediately forcing a termination of the - // process, returning asynchronously), followed by Process.Dispose() + // RoboCommand.Stop() is calling Process.Kill() (immediately forcing a termination + // of the process, returning asynchronously), followed by Process.Dispose() // (releasing all resources used by the component). Would be nice if RoboSharp // implemented a method to check if the process has actually terminated, but // this is probably something we have to do ourselves. + // TODO: this has probably improved with recent versions of RoboSharp, check it! try { _roboCommand.Stop(); }