clean up work cancellation

This commit is contained in:
Stewart Allen 2021-02-24 11:09:02 -05:00
commit 18fded64db
3 changed files with 25 additions and 13 deletions

View file

@ -242,7 +242,8 @@
// hide all dialogs
API.dialog.hide();
// cancel slicing
if (KIRI.work.isSlicing()) KIRI.work.restart();
API.function.cancel();
// if (KIRI.work.isSlicing()) KIRI.work.restart();
// kill any poppers in compact mode
UC.hidePoppers();
// and send an event (used by FDM client)