more graceful handling of slice cancellation

This commit is contained in:
Stewart Allen 2023-03-07 09:09:49 -05:00
commit 87ff83ca97
2 changed files with 2 additions and 0 deletions

View file

@ -153,6 +153,7 @@ function prepareSlices(callback, scale = 1, offset = 0) {
show.progress(0);
client.restart();
event.emit('slice.error', error);
setTimeout(view.set_arrange, 1);
}
if (errored) {
// terminate slicing