From 0f69526cbbfea64042d95c3d617dd0815e5cfced Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Sat, 27 Aug 2016 10:02:17 +0200 Subject: [PATCH] add break property to switch --- src/Slicer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Slicer.js b/src/Slicer.js index 4fb2121..a76b8ad 100644 --- a/src/Slicer.js +++ b/src/Slicer.js @@ -48,6 +48,7 @@ export default class { case 'SLICE': { sliceWorker.terminate(); resolve(data.gcode); + break; } } });