add break property to switch

This commit is contained in:
casperlamboo 2016-08-27 10:02:17 +02:00 committed by Simon Voordouw
parent 29e46217f8
commit 0f69526cbb

View File

@ -48,6 +48,7 @@ export default class {
case 'SLICE': { case 'SLICE': {
sliceWorker.terminate(); sliceWorker.terminate();
resolve(data.gcode); resolve(data.gcode);
break;
} }
} }
}); });