Skip to content
Snippets Groups Projects
Commit d4937c81 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Disable call to RoboCommand.Stop() method.

This commit is successfully tested to work on Windows 7 with the latest
version of RoboSharp (at the time of writing, including the
[EnableRaisingEvents fix][1] which has not yet been merged upstream).

This closes #15

[1]: https://github.com/tjscience/RoboSharp/pull/46
parent 3127d1ec
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,12 @@ namespace ATxService
if (_transferState == TxState.DoNothing)
return;
_roboCommand.Stop();
// Calling _roboCommand.Stop() is not required (any more, maybe it never was), since
// all of this is already taken care of by the RoboCommand class internally, hence we
// can safely disable the call here:
// _roboCommand.Stop();
Log.Debug("Transfer stopped");
_transferState = TxState.Stopped;
_status.TransferredBytesCompleted = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment