add break property to switch

This commit is contained in:
casperlamboo 2016-08-27 10:02:17 +02:00
parent b8b13b2a6b
commit 8d2ccc2c86

View File

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