@wandelbots/wandelbots-js-react-components 1.19.1 → 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -16815,7 +16815,15 @@ class Yo {
16815
16815
  async deactivate(t = {}) {
16816
16816
  if (this.activationState === "inactive") return;
16817
16817
  const n = this.jogger.activeWebsocket;
16818
- this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed(), t.requireManualReactivation && fr(() => {
16818
+ this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed();
16819
+ try {
16820
+ await this.jogger.nova.api.motionGroupJogging.stopJogging(
16821
+ this.jogger.motionGroupId
16822
+ );
16823
+ } catch (r) {
16824
+ console.error(r);
16825
+ }
16826
+ t.requireManualReactivation && fr(() => {
16819
16827
  this.manualActivationRequired = !0;
16820
16828
  });
16821
16829
  }