Made it so that only canceling the printe causes it to be marked as canceled
Disconnect and reconnect do not 'cancel' the print Closing MC does not 'cancel' the print
This commit is contained in:
parent
4b07153554
commit
fb1f5ff730
3 changed files with 23 additions and 21 deletions
|
|
@ -152,6 +152,10 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
while (internalStream.FileStreaming.PercentComplete(internalStream.LineIndex) < percentDone)
|
||||
{
|
||||
string line = internalStream.ReadLine();
|
||||
if(line == null)
|
||||
{
|
||||
break;
|
||||
}
|
||||
commandCount++;
|
||||
|
||||
// make sure we don't parse comments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue